summaryrefslogtreecommitdiff
path: root/pimd/pim_nht.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@nvidia.com>2020-09-30 18:37:15 -0400
committerQuentin Young <qlyoung@nvidia.com>2020-09-30 18:37:15 -0400
commit6c83ddedcf1a5935284be238ba09cfa3d6e7cd1e (patch)
tree89a13df0044b9f010d5ecbfe9d0a286ed91bda00 /pimd/pim_nht.c
parent2fec17cd047defee33e5a469b0c5bf9e2853a8f9 (diff)
*: make failure to decode nht update an error
This should never happen; no need to debug guard it and it's not a warning, if this isn't working then NHT is not working at all. Signed-off-by: Quentin Young <qlyoung@nvidia.com>
Diffstat (limited to 'pimd/pim_nht.c')
-rw-r--r--pimd/pim_nht.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/pimd/pim_nht.c b/pimd/pim_nht.c
index a888d68f09..f06d4ae605 100644
--- a/pimd/pim_nht.c
+++ b/pimd/pim_nht.c
@@ -735,10 +735,8 @@ int pim_parse_nexthop_update(ZAPI_CALLBACK_ARGS)
pim = vrf->info;
if (!zapi_nexthop_update_decode(zclient->ibuf, &nhr)) {
- if (PIM_DEBUG_PIM_NHT)
- zlog_debug(
- "%s: Decode of nexthop update from zebra failed",
- __func__);
+ zlog_err("%s: Decode of nexthop update from zebra failed",
+ __func__);
return 0;
}