]> git.puffer.fish Git - matthieu/frr.git/commit
lib: fix zapi_nexthop_update_decode error rc
authorQuentin Young <qlyoung@nvidia.com>
Wed, 30 Sep 2020 22:22:33 +0000 (18:22 -0400)
committerQuentin Young <qlyoung@nvidia.com>
Wed, 30 Sep 2020 22:22:33 +0000 (18:22 -0400)
commit2fec17cd047defee33e5a469b0c5bf9e2853a8f9
treed6eb4a7971699a6a13a3e4c9c72c9b02d234e11b
parentfb3bc7a74ba93edb2801b1789c2d1890cd9820eb
lib: fix zapi_nexthop_update_decode error rc

This function returns true on success and false otherwise. Returning -1
on error is equivalent to returning true.

Signed-off-by: Quentin Young <qlyoung@nvidia.com>
lib/zclient.c