]> git.ipfire.org Git - thirdparty/bird.git/commit
Babel: Rework handling of retractions
authorOndrej Zajicek (work) <santiago@crfreenet.org>
Tue, 19 Jul 2016 11:33:02 +0000 (13:33 +0200)
committerOndrej Zajicek (work) <santiago@crfreenet.org>
Tue, 19 Jul 2016 11:33:02 +0000 (13:33 +0200)
commitecae2f43f37df642e5098201a0472802e6a70e78
tree589e95b3a2093cb21cf0da6c8a2470e9c72ed09d
parent12640c149976e1eca54d9c22c593d07a27c49d42
Babel: Rework handling of retractions

An update with wildcard AE and infinite metric should be treated as a
global retraction of all prefixes announced by that neighbour, per
section 4.4.9 of the RFC. In addition, router ID and seqno in retraction
updates should be ignored. This reworks the handling of retractions and
adjusts the parser to handle all this correctly.

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
proto/babel/babel.c
proto/babel/packets.c