From: Martin Mares Date: Sat, 17 Oct 1998 11:24:13 +0000 (+0000) Subject: Each protocol now hears even its own routes and needs to make its own X-Git-Tag: v1.2.0~1839 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f3d198df118dc218bb2049f1cc0597ec62864bc;p=thirdparty%2Fbird.git Each protocol now hears even its own routes and needs to make its own loop detection. This is needed since both RIP and OSPF handle multiple neighbors and they need to redistribute routes learned from each neighbor to the remaining ones. --- diff --git a/nest/rt-table.c b/nest/rt-table.c index dc72c6b1a..228be1211 100644 --- a/nest/rt-table.c +++ b/nest/rt-table.c @@ -111,9 +111,8 @@ rte_announce(net *net, rte *new, rte *old) struct proto *p; WALK_LIST(p, proto_list) - if (!new || new->attrs->proto != p) - if (p->rt_notify) - p->rt_notify(p, net, new, old); + if (p->rt_notify) + p->rt_notify(p, net, new, old); } void