mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 08:50:26 +00:00
Merge pull request #7122 from ckishimo/type4
ospfd: do not generate type 4 LSA from NSSA ABR
This commit is contained in:
commit
b4b7ca8944
@ -1162,6 +1162,15 @@ static void ospf_abr_announce_rtr(struct ospf *ospf, struct prefix_ipv4 *p,
|
||||
if (ospf_abr_nexthops_belong_to_area(or, area))
|
||||
continue;
|
||||
|
||||
/* RFC3101: Do not generate ASBR type 4 LSA if NSSA ABR */
|
||||
if (or->u.std.external_routing == OSPF_AREA_NSSA) {
|
||||
if (IS_DEBUG_OSPF_EVENT)
|
||||
zlog_debug(
|
||||
"ospf_abr_announce_rtr(): do not generate LSA Type-4 %s from NSSA",
|
||||
inet_ntoa(p->prefix));
|
||||
continue;
|
||||
}
|
||||
|
||||
if (area->external_routing != OSPF_AREA_DEFAULT) {
|
||||
if (IS_DEBUG_OSPF_EVENT)
|
||||
zlog_debug(
|
||||
|
Loading…
Reference in New Issue
Block a user