0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-17 16:48:43 +00:00

Peer address of stub iface should be announced in OSPF Router LSA.

This commit is contained in:
Ondrej Zajicek 2012-11-10 14:54:35 +01:00
parent cf98be7b67
commit a55a90faec

View File

@ -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 */
if (net_lsa ||
(ifa->type == OSPF_IT_VLINK) ||
(ifa->addr->flags & IA_PEER) ||
((ifa->addr->flags & IA_PEER) && ! ifa->cf->stub) ||
configured_stubnet(oa, ifa->addr))
continue;