]> git.puffer.fish Git - matthieu/frr.git/commit
zebra: dplane_ctx_get_pbr_ipset should return void
authorDonald Sharp <sharpd@nvidia.com>
Thu, 28 Oct 2021 13:15:44 +0000 (09:15 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Wed, 17 Nov 2021 12:46:36 +0000 (07:46 -0500)
commit8249f96a5f667af016764219f501d5015104061d
treedd337c6c4e790fcb09749110c29efec125fb8972
parent4be297235ed2555be598661d0d082a1ed8794355
zebra: dplane_ctx_get_pbr_ipset should return void

The function call dplane_ctx_get_pbr_ipset only
returns false when the calling function fails to
pass in a valid ipset pointer.  This should
be an assertion issue since it's a programming
issue as opposed to an actual run time issue.

Change the function call parameter to not return
a bool on success/fail for a compile time decision.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
zebra/zapi_msg.c
zebra/zebra_dplane.c
zebra/zebra_dplane.h
zebra/zebra_pbr.c