[BIRD 2.0.x] Netlink: ignore dead routes

Vincent Bernat bernat at luffy.cx
Fri Oct 23 11:36:44 CEST 2020


 ❦ 23 octobre 2020 08:48 +02, Bernd Naumann:

> I have a question:
> What is then `check link` supposed to do?
>
> At least for 1.6, babel is the only protocol which enables it by
> default, and the others, for in example direct, static, and ospf it is 
> needed to be set by the user, and I would have assumed exactly that
> behavior.

`check link` does not seem to exist for the kernel protocol. It could be
an option, but IMO, this is a separate issue: a route the kernel won't
use shouldn't be used by BIRD either, so the check for the "dead" flag
should be done in all cases.
-- 
Don't stop at one bug.
            - The Elements of Programming Style (Kernighan & Plauger)


More information about the Bird-users mailing list