diff options
| author | Stephen Worley <sworley@cumulusnetworks.com> | 2020-09-23 14:17:15 -0400 |
|---|---|---|
| committer | Stephen Worley <sworley@cumulusnetworks.com> | 2020-09-23 14:17:15 -0400 |
| commit | 5d06c5d5ef50b66f7ffc2fee70c20f49d064aa87 (patch) | |
| tree | 4b7477ec79aa225e58b74489cac722ceadedff77 /pbrd/pbr_zebra.h | |
| parent | fe870621b577e3a486604b95cedd4fde86d36ccd (diff) | |
pbrd: use bool for pbr_send_pbr_map() return val
Use a bool as the return val for pbr_send_pbr_map() to make
the code a bit more readable. Dont expect there to be need
for values other than true or false anyway.
Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
Diffstat (limited to 'pbrd/pbr_zebra.h')
| -rw-r--r-- | pbrd/pbr_zebra.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pbrd/pbr_zebra.h b/pbrd/pbr_zebra.h index 57c6f080c7..e8f9bff5d9 100644 --- a/pbrd/pbr_zebra.h +++ b/pbrd/pbr_zebra.h @@ -35,9 +35,9 @@ extern void route_delete(struct pbr_nexthop_group_cache *pnhgc, extern void pbr_send_rnh(struct nexthop *nhop, bool reg); -extern int pbr_send_pbr_map(struct pbr_map_sequence *pbrms, - struct pbr_map_interface *pmi, bool install, - bool changed); +extern bool pbr_send_pbr_map(struct pbr_map_sequence *pbrms, + struct pbr_map_interface *pmi, bool install, + bool changed); extern struct pbr_interface *pbr_if_new(struct interface *ifp); |
