Next-hop check not needed?
bernat at luffy.cx
Tue Jul 4 17:19:37 CEST 2017
❦ 4 juillet 2017 14:49 +0200, Ondrej Zajicek <santiago at crfreenet.org> :
> The patch looks fine, but there is one conceptual problem - onlink flag
> is not really property of a route, but property of a next hop, so your
> patch is incompatible with ECMP. Unfortunately, we currently do not have
> similar flexile attribute mechanism for per-next-hop data.
Understood. Fortunately, in my case, those routes are not really needed
locally, so I can just filter them and announce them only over
BGP. Thanks for the help.
Localise input and output in subroutines.
- The Elements of Programming Style (Kernighan & Plauger)
More information about the Bird-users