0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 17:51:53 +00:00

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,9 +111,8 @@ rte_announce(net *net, rte *new, rte *old)
struct proto *p; struct proto *p;
WALK_LIST(p, proto_list) WALK_LIST(p, proto_list)
if (!new || new->attrs->proto != p) if (p->rt_notify)
if (p->rt_notify) p->rt_notify(p, net, new, old);
p->rt_notify(p, net, new, old);
} }
void void