mirror of
https://gitlab.labs.nic.cz/labs/bird.git
synced 2024-05-11 16:54:54 +00:00
Peer address of stub iface should be announced in OSPF Router LSA.
This commit is contained in:
@@ -305,7 +305,7 @@ originate_rt_lsa_body(struct ospf_area *oa, u16 *length)
|
|||||||
/* Now we will originate stub area if there is no primary */
|
/* Now we will originate stub area if there is no primary */
|
||||||
if (net_lsa ||
|
if (net_lsa ||
|
||||||
(ifa->type == OSPF_IT_VLINK) ||
|
(ifa->type == OSPF_IT_VLINK) ||
|
||||||
(ifa->addr->flags & IA_PEER) ||
|
((ifa->addr->flags & IA_PEER) && ! ifa->cf->stub) ||
|
||||||
configured_stubnet(oa, ifa->addr))
|
configured_stubnet(oa, ifa->addr))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user