summaryrefslogtreecommitdiff
path: root/pbrd/pbr_zebra.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 /pbrd/pbr_zebra.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 'pbrd/pbr_zebra.c')
-rw-r--r--pbrd/pbr_zebra.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pbrd/pbr_zebra.c b/pbrd/pbr_zebra.c
index 8ef675186f..866f27136e 100644
--- a/pbrd/pbr_zebra.c
+++ b/pbrd/pbr_zebra.c
@@ -401,7 +401,7 @@ static int pbr_zebra_nexthop_update(ZAPI_CALLBACK_ARGS)
uint32_t i;
if (!zapi_nexthop_update_decode(zclient->ibuf, &nhr)) {
- zlog_warn("Failure to decode Nexthop update message");
+ zlog_err("Failure to decode Nexthop update message");
return 0;
}