We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7042f79 + ceb7b99 commit 33d19c3Copy full SHA for 33d19c3
ospf6d/ospf6_flood.c
@@ -558,10 +558,10 @@ static void ospf6_flood_process(struct ospf6_neighbor *from,
558
/* If unknown LSA and U-bit clear, treat as link local
559
* flooding scope
560
*/
561
- if (!OSPF6_LSA_IS_KNOWN(lsa->header->type)
562
- && !(ntohs(lsa->header->type) & OSPF6_LSTYPE_UBIT_MASK)
563
- && (oa != OSPF6_INTERFACE(lsa->lsdb->data)->area)) {
564
-
+ if (!OSPF6_LSA_IS_KNOWN(lsa->header->type) &&
+ !(ntohs(lsa->header->type) & OSPF6_LSTYPE_UBIT_MASK) &&
+ OSPF6_LSA_SCOPE(lsa->header->type) == OSPF6_SCOPE_LINKLOCAL &&
+ (oa != OSPF6_INTERFACE(lsa->lsdb->data)->area)) {
565
if (IS_OSPF6_DEBUG_FLOODING)
566
zlog_debug("Unknown LSA, do not flood");
567
continue;
0 commit comments