mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-11 01:40:33 +00:00
Merge pull request #10100 from rgirada/ospf_nssa
ospfd: ospf routing table update upon Changing area from normal to nssa
This commit is contained in:
commit
911b9d7b90
@ -280,6 +280,19 @@ int ospf_ase_calculate_route(struct ospf *ospf, struct ospf_lsa *lsa)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* Type-5 shouldn't be calculated if it is originated from NSSA ASBR.
|
||||
* As per RFC 3101, expectation is to receive type-7 lsas from
|
||||
* NSSA ASBR. Ignore calculation, if the current LSA is type-5 and
|
||||
* originated ASBR's area is NSSA.
|
||||
*/
|
||||
if ((lsa->data->type == OSPF_AS_EXTERNAL_LSA)
|
||||
&& (asbr_route->u.std.external_routing != OSPF_AREA_DEFAULT)) {
|
||||
if (IS_DEBUG_OSPF(lsa, LSA))
|
||||
zlog_debug(
|
||||
"Route[External]: Ignore, If type-5 LSA from NSSA area.");
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* Else, this LSA describes an AS external path to destination
|
||||
N. Examine the forwarding address specified in the AS-
|
||||
external-LSA. This indicates the IP address to which
|
||||
|
Loading…
Reference in New Issue
Block a user