From: Mark Stapp Date: Thu, 20 Dec 2018 18:22:22 +0000 (-0500) Subject: zebra: fix debug test in routing-socket update path X-Git-Tag: frr-7.1-dev~4^2~3 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=683c06ad2281247645016e690e233c65d9475d20;p=mirror%2Ffrr.git 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 --- 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