diff --git a/lib/zclient.c b/lib/zclient.c index b7d240b4e8..914b02749e 100644 --- a/lib/zclient.c +++ b/lib/zclient.c @@ -1765,7 +1765,7 @@ bool zapi_nexthop_update_decode(struct stream *s, struct zapi_route *nhr) for (i = 0; i < nhr->nexthop_num; i++) { if (zapi_nexthop_decode(s, &(nhr->nexthops[i]), 0, 0) != 0) - return -1; + return false; } return true;