]> git.puffer.fish Git - matthieu/frr.git/commit
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>
Wed, 30 May 2018 08:03:10 +0000 (10:03 +0200)
commit0b821bb5ee05fd1b1ff552c71d4d1db9fb12213f
tree92613322cacd8d61fee4de853ffaf0b387009e6e
parent41e5abf816ddd63dbbd4ce91eacbcd03e2ee2b71
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