summaryrefslogtreecommitdiffstats
path: root/bgpd/rfapi/bgp_rfapi_cfg.c
diff options
context:
space:
mode:
authorRuben Kerkhof <ruben@rubenkerkhof.com>2020-03-10 16:50:03 +0100
committerRuben Kerkhof <ruben@rubenkerkhof.com>2020-03-10 16:53:13 +0100
commit1e20238af5bcfa58ffb70f321e56f510a6ab33d9 (patch)
tree0cd2bd36d2cfd736aef59fafa6afa0c7fbc500d5 /bgpd/rfapi/bgp_rfapi_cfg.c
parentbuild: fix building with -Werror=undef (diff)
downloadfrr-1e20238af5bcfa58ffb70f321e56f510a6ab33d9.tar.xz
frr-1e20238af5bcfa58ffb70f321e56f510a6ab33d9.zip
treewide: fix some issues found with -Werror=undef
Signed-off-by: Ruben Kerkhof <ruben@rubenkerkhof.com>
Diffstat (limited to 'bgpd/rfapi/bgp_rfapi_cfg.c')
-rw-r--r--bgpd/rfapi/bgp_rfapi_cfg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bgpd/rfapi/bgp_rfapi_cfg.c b/bgpd/rfapi/bgp_rfapi_cfg.c
index cad33404f..acfab53d2 100644
--- a/bgpd/rfapi/bgp_rfapi_cfg.c
+++ b/bgpd/rfapi/bgp_rfapi_cfg.c
@@ -47,7 +47,7 @@
#include "bgpd/rfapi/vnc_import_bgp.h"
#include "bgpd/rfapi/vnc_debug.h"
-#if ENABLE_BGP_VNC
+#ifdef ENABLE_BGP_VNC
#undef BGP_VNC_DEBUG_MATCH_GROUP
@@ -168,7 +168,7 @@ struct rfapi_nve_group_cfg *bgp_rfapi_cfg_match_group(struct rfapi_cfg *hc,
agg_unlock_node(rn_un);
}
-#if BGP_VNC_DEBUG_MATCH_GROUP
+#ifdef BGP_VNC_DEBUG_MATCH_GROUP
{
char buf[PREFIX_STRLEN];