diff options
author | Martin Mares <mj@ucw.cz> | 1998-10-17 13:24:13 +0200 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 1998-10-17 13:24:13 +0200 |
commit | 7f3d198df118dc218bb2049f1cc0597ec62864bc (patch) | |
tree | d887084daf5ef9068fe03ea1584f2096810d7431 /nest | |
parent | 47b793064c25c8adcab48cacc018be1675f2448a (diff) | |
download | bird-7f3d198df118dc218bb2049f1cc0597ec62864bc.tar bird-7f3d198df118dc218bb2049f1cc0597ec62864bc.zip |
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.
Diffstat (limited to 'nest')
-rw-r--r-- | nest/rt-table.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/nest/rt-table.c b/nest/rt-table.c index dc72c6b..228be12 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 |