summaryrefslogtreecommitdiffstats
path: root/zebra/rt_netlink.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-05-25 20:36:12 +0200
committerPhilippe Guibert <philippe.guibert@6wind.com>2018-05-26 08:46:13 +0200
commitd4d71f1133e02d1b9595b5f9a3599859ba780611 (patch)
treead186191a27d20bd4b22143476079fce9f0da2eb /zebra/rt_netlink.h
parentMerge pull request #2300 from ajones-rvbd/ajones-issue-2299 (diff)
downloadfrr-d4d71f1133e02d1b9595b5f9a3599859ba780611.tar.xz
frr-d4d71f1133e02d1b9595b5f9a3599859ba780611.zip
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>
Diffstat (limited to 'zebra/rt_netlink.h')
-rw-r--r--zebra/rt_netlink.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/zebra/rt_netlink.h b/zebra/rt_netlink.h
index 78888f48c..c8d918b1d 100644
--- a/zebra/rt_netlink.h
+++ b/zebra/rt_netlink.h
@@ -53,6 +53,7 @@
#define RTPROT_LDP 193
#define RTPROT_SHARP 194
#define RTPROT_PBR 195
+#define RTPROT_ZSTATIC 196
void rt_netlink_init(void);