]> git.proxmox.com Git - mirror_frr.git/commit - zebra/kernel_netlink.c
tools, zebra: Use different protocol value for our statics
authorDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 25 May 2018 18:36:12 +0000 (14:36 -0400)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Sat, 26 May 2018 06:46:13 +0000 (08:46 +0200)
commitd4d71f1133e02d1b9595b5f9a3599859ba780611
treead186191a27d20bd4b22143476079fce9f0da2eb
parent22b788b4c4b0ee2efd04d83d2fc539d8986961d6
tools, zebra: Use different protocol value for our statics

The re-use of RTPROT_STATIC has caused too many collisions
where other legitimate route sources are causing us to
believe we are the originator of the route.  Modify
the code so that if another protocol inserts RTPROT_STATIC
we will assume it's a Kernel Route.

Fixes: #2293
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
tools/etc/iproute2/rt_protos.d/frr.conf
tools/frr
zebra/kernel_netlink.c
zebra/rt_netlink.c
zebra/rt_netlink.h