mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-11-08 12:18:42 +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:
parent
47b793064c
commit
7f3d198df1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user