mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-11 23:53:49 +00:00
pbrd: return check (Coverity 1475199)
Signed-off-by: F. Aragon <paco@voltanet.io>
This commit is contained in:
parent
b3beaea00d
commit
54317f2cf3
@ -361,7 +361,10 @@ static int pbr_zebra_nexthop_update(int command, struct zclient *zclient,
|
||||
char buf[PREFIX2STR_BUFFER];
|
||||
uint32_t i;
|
||||
|
||||
zapi_nexthop_update_decode(zclient->ibuf, &nhr);
|
||||
if (!zapi_nexthop_update_decode(zclient->ibuf, &nhr)) {
|
||||
zlog_warn("Failure to decode Nexthop update message");
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (DEBUG_MODE_CHECK(&pbr_dbg_zebra, DEBUG_MODE_ALL)) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user