summaryrefslogtreecommitdiffstats
path: root/bgpd/bgpd.h
diff options
context:
space:
mode:
authorLou Berger <lberger@labn.net>2019-01-07 17:32:54 +0100
committerLou Berger <lberger@labn.net>2019-01-07 17:51:06 +0100
commit943d595a018e69b550db08cccba1d0778a86705a (patch)
tree18f857a7cdbf7595e091ec1ad15783dd4f84da98 /bgpd/bgpd.h
parentMerge pull request #3572 from manuhalo/fix_isisd_p2p (diff)
downloadfrr-943d595a018e69b550db08cccba1d0778a86705a.tar.xz
frr-943d595a018e69b550db08cccba1d0778a86705a.zip
bgpd: don't use BGP_ATTR_VNC(255) unless ENABLE_BGP_VNC_ATTR is defined
Signed-off-by: Lou Berger <lberger@labn.net>
Diffstat (limited to '')
-rw-r--r--bgpd/bgpd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgpd.h b/bgpd/bgpd.h
index 62096d651..f28ca9fa0 100644
--- a/bgpd/bgpd.h
+++ b/bgpd/bgpd.h
@@ -1280,7 +1280,7 @@ struct bgp_nlri {
#define BGP_ATTR_ENCAP 23
#define BGP_ATTR_LARGE_COMMUNITIES 32
#define BGP_ATTR_PREFIX_SID 40
-#if ENABLE_BGP_VNC
+#if ENABLE_BGP_VNC_ATTR
#define BGP_ATTR_VNC 255
#endif