diff options
author | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2020-11-18 17:37:29 +0100 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2020-11-18 17:37:29 +0100 |
commit | 00ddd18b02a4a4db973adecf6ef63a350c909cbd (patch) | |
tree | 5b1e481919b1b72e5acab8d279a34d09118b0d08 /proto | |
parent | 6ea8a46ccb540701dfe747566e6a5b7bc318db01 (diff) |
OSPFv3: Fix intra-area-prefix-LSA origination on DR
When a new link-LSA is originated, we need to notify intra-area-prefix-LSA
handling, like when a new link-LSA is received. Otherwise a new network
prefix added to a DR is not propagated immediately.
Thanks to Bala Sajja for the bugreport.
Diffstat (limited to 'proto')
-rw-r--r-- | proto/ospf/topology.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/proto/ospf/topology.c b/proto/ospf/topology.c index f1f6570d..ea7176fd 100644 --- a/proto/ospf/topology.c +++ b/proto/ospf/topology.c @@ -1455,6 +1455,9 @@ ospf_originate_link_lsa(struct ospf_proto *p, struct ospf_iface *ifa) prepare_link_lsa_body(p, ifa); ifa->link_lsa = ospf_originate_lsa(p, &lsa); + + /* RFC 5340 4.4.3 Events 6+7 - new Link LSA is locally originated */ + ospf_notify_net_lsa(ifa); } |