summaryrefslogtreecommitdiffstats
path: root/pbrd
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@nvidia.com>2020-10-01 00:37:15 +0200
committerQuentin Young <qlyoung@nvidia.com>2020-10-01 00:37:15 +0200
commit6c83ddedcf1a5935284be238ba09cfa3d6e7cd1e (patch)
tree89a13df0044b9f010d5ecbfe9d0a286ed91bda00 /pbrd
parentlib: fix zapi_nexthop_update_decode error rc (diff)
downloadfrr-6c83ddedcf1a5935284be238ba09cfa3d6e7cd1e.tar.xz
frr-6c83ddedcf1a5935284be238ba09cfa3d6e7cd1e.zip
*: 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')
-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 8ef675186..866f27136 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;
}