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.
This commit is contained in:
Martin Mares 1998-10-17 11:24:13 +00:00
parent 47b793064c
commit 7f3d198df1

View file

@ -111,7 +111,6 @@ 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);
}