]> git.ipfire.org Git - thirdparty/bird.git/commit
Babel: Set onlink flag for IPv4 routes with unreachable next hop
authorOndrej Zajicek (work) <santiago@crfreenet.org>
Tue, 26 May 2020 21:43:13 +0000 (23:43 +0200)
committerOndrej Zajicek (work) <santiago@crfreenet.org>
Tue, 26 May 2020 21:43:13 +0000 (23:43 +0200)
commit4e8f8afc68cc7ba09ca42d989e47dbfcb17d2772
treef05791f55d816e0b18219ff2ee98446db7dc11b1
parentc1632ad0f39f7221d649a9e469cacc38105528e2
Babel: Set onlink flag for IPv4 routes with unreachable next hop

If the next hop of a route is not a reachable address, the route should be
installed as onlink. This enables a configuration common in mesh networks
where the mesh interface is assigned a /32 and babel handles the routing by
installing onlink routes.

Thanks to Toke Hoiland-Jorgensen for the patch.
proto/babel/babel.c