mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 17:18:56 +00:00
Merge pull request #12935 from opensourcerouting/ospf6d-la-bit
ospf6d: fix processing of inter-area-prefix-LSAs with the LA-bit set
This commit is contained in:
commit
e879c3d8a2
@ -1136,11 +1136,9 @@ void ospf6_abr_examin_summary(struct ospf6_lsa *lsa, struct ospf6_area *oa)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (CHECK_FLAG(prefix_lsa->prefix.prefix_options,
|
if (CHECK_FLAG(prefix_lsa->prefix.prefix_options,
|
||||||
OSPF6_PREFIX_OPTION_NU)
|
OSPF6_PREFIX_OPTION_NU)) {
|
||||||
|| CHECK_FLAG(prefix_lsa->prefix.prefix_options,
|
|
||||||
OSPF6_PREFIX_OPTION_LA)) {
|
|
||||||
if (is_debug)
|
if (is_debug)
|
||||||
zlog_debug("Prefix has NU/LA bit set, ignore");
|
zlog_debug("Prefix has the NU bit set, ignore");
|
||||||
if (old)
|
if (old)
|
||||||
ospf6_route_remove(old, table);
|
ospf6_route_remove(old, table);
|
||||||
return;
|
return;
|
||||||
@ -1153,7 +1151,8 @@ void ospf6_abr_examin_summary(struct ospf6_lsa *lsa, struct ospf6_area *oa)
|
|||||||
if (!OSPF6_OPT_ISSET(router_lsa->options, OSPF6_OPT_R)
|
if (!OSPF6_OPT_ISSET(router_lsa->options, OSPF6_OPT_R)
|
||||||
|| !OSPF6_OPT_ISSET(router_lsa->options, OSPF6_OPT_V6)) {
|
|| !OSPF6_OPT_ISSET(router_lsa->options, OSPF6_OPT_V6)) {
|
||||||
if (is_debug)
|
if (is_debug)
|
||||||
zlog_debug("Prefix has NU/LA bit set, ignore");
|
zlog_debug(
|
||||||
|
"Router-LSA has the V6-bit or R-bit unset, ignore");
|
||||||
if (old)
|
if (old)
|
||||||
ospf6_route_remove(old, table);
|
ospf6_route_remove(old, table);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user