]> git.puffer.fish Git - mirror/frr.git/commit
zebra: trust directly connected kernel/system routes 5886/head
authorStephen Worley <sworley@cumulusnetworks.com>
Mon, 2 Mar 2020 18:16:02 +0000 (13:16 -0500)
committerStephen Worley <sworley@cumulusnetworks.com>
Mon, 2 Mar 2020 18:45:40 +0000 (13:45 -0500)
commitfc8a02c45fc098b36a9b46337d9d9addf16d8c84
treec17d039de142034ab49744edccc194ab6ffcf286
parent200334ecbbcdc1de71cb2a3e615ecf4d4f0d1f87
zebra: trust directly connected kernel/system routes

We made the decision to explicitly trust kernel and system routes
of every other type with 058c16b7e239f1c50a1d4b4376a6aff6b8dad959.

So, we should trust directly connected routes the same way, assuming
the interface exists.

Old Behavior:

K   2.2.2.1/32 [0/0] is directly connected, unknown inactive, 00:00:39

New Behavior:

K>* 2.2.2.1/32 [0/0] is directly connected, test1, 00:00:03

As a bonus, this fixes the issues we were seeing with not removing
directly connected routes of certain interface types when
those interfaces go down/are deleted.

Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
zebra/zebra_nhg.c