diff options
author | Quentin Young <qlyoung@nvidia.com> | 2020-10-01 00:37:15 +0200 |
---|---|---|
committer | Quentin Young <qlyoung@nvidia.com> | 2020-10-01 00:37:15 +0200 |
commit | 6c83ddedcf1a5935284be238ba09cfa3d6e7cd1e (patch) | |
tree | 89a13df0044b9f010d5ecbfe9d0a286ed91bda00 /sharpd | |
parent | lib: fix zapi_nexthop_update_decode error rc (diff) | |
download | frr-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 'sharpd')
-rw-r--r-- | sharpd/sharp_zebra.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sharpd/sharp_zebra.c b/sharpd/sharp_zebra.c index d167e8e27..231de6403 100644 --- a/sharpd/sharp_zebra.c +++ b/sharpd/sharp_zebra.c @@ -547,8 +547,7 @@ static int sharp_nexthop_update(ZAPI_CALLBACK_ARGS) struct zapi_route nhr; if (!zapi_nexthop_update_decode(zclient->ibuf, &nhr)) { - zlog_warn("%s: Decode of update failed", __func__); - + zlog_err("%s: Decode of update failed", __func__); return 0; } |