summaryrefslogtreecommitdiff
path: root/zebra/zebra_dplane.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 /zebra/zebra_dplane.c
parent7cda3a87d130c8f18764ec2e4c986bf30ae25416 (diff)
treewide: fix some issues found with -Werror=undef
Signed-off-by: Ruben Kerkhof <ruben@rubenkerkhof.com>
Diffstat (limited to 'zebra/zebra_dplane.c')
-rw-r--r--zebra/zebra_dplane.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/zebra/zebra_dplane.c b/zebra/zebra_dplane.c
index 5d0d0a48c3..459d2bc620 100644
--- a/zebra/zebra_dplane.c
+++ b/zebra/zebra_dplane.c
@@ -3331,7 +3331,7 @@ skip_one:
return 0;
}
-#if DPLANE_TEST_PROVIDER
+#ifdef DPLANE_TEST_PROVIDER
/*
* Test dataplane provider plugin
@@ -3415,7 +3415,7 @@ static void dplane_provider_init(void)
zlog_err("Unable to register kernel dplane provider: %d",
ret);
-#if DPLANE_TEST_PROVIDER
+#ifdef DPLANE_TEST_PROVIDER
/* Optional test provider ... */
ret = dplane_provider_register("Test",
DPLANE_PRIO_PRE_KERNEL,