summaryrefslogtreecommitdiff
path: root/zebra/rt_socket.c
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2018-12-20 13:22:22 -0500
committerMark Stapp <mjs@voltanet.io>2019-01-22 15:07:16 -0500
commit683c06ad2281247645016e690e233c65d9475d20 (patch)
tree5829ef199cf132bb66a8e3370c2fc384dd932e83 /zebra/rt_socket.c
parentd37f4d6c61c21eb2973b7865d7ed5a6f74d92449 (diff)
zebra: fix debug test in routing-socket update path
Fix the test used to pre-populate a string used in debugs in the routing-socket route-update code path. Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'zebra/rt_socket.c')
-rw-r--r--zebra/rt_socket.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/zebra/rt_socket.c b/zebra/rt_socket.c
index 7dc5ef8b66..a6cdffdf32 100644
--- a/zebra/rt_socket.c
+++ b/zebra/rt_socket.c
@@ -84,8 +84,7 @@ static int kernel_rtm(int cmd, const struct prefix *p,
char prefix_buf[PREFIX_STRLEN];
enum blackhole_type bh_type = BLACKHOLE_UNSPEC;
- if (IS_ZEBRA_DEBUG_RIB || IS_ZEBRA_DEBUG_KERNEL)
- prefix2str(p, prefix_buf, sizeof(prefix_buf));
+ prefix2str(p, prefix_buf, sizeof(prefix_buf));
/*
* We only have the ability to ADD or DELETE at this point