From: Ondrej Zajicek Date: Sat, 10 Nov 2012 13:54:35 +0000 (+0100) Subject: Peer address of stub iface should be announced in OSPF Router LSA. X-Git-Tag: v1.3.9~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a55a90faec5cce09cee65f484e3731207af00335;p=thirdparty%2Fbird.git Peer address of stub iface should be announced in OSPF Router LSA. --- diff --git a/proto/ospf/topology.c b/proto/ospf/topology.c index 177cd53ac..bfa071d82 100644 --- a/proto/ospf/topology.c +++ b/proto/ospf/topology.c @@ -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;