summaryrefslogtreecommitdiffstats
path: root/pbrd/pbr_zebra.h
diff options
context:
space:
mode:
authorStephen Worley <sworley@cumulusnetworks.com>2020-09-17 21:32:01 +0200
committerStephen Worley <sworley@cumulusnetworks.com>2020-09-22 21:40:32 +0200
commitf08966a58dbc80cb53506436694996bb3f4e2f9a (patch)
treea365300ec0f0243f06481a99b32d16cebb1eb5a8 /pbrd/pbr_zebra.h
parentMerge pull request #7132 from volta-networks/fix_ldp_sync_cmds (diff)
downloadfrr-f08966a58dbc80cb53506436694996bb3f4e2f9a.tar.xz
frr-f08966a58dbc80cb53506436694996bb3f4e2f9a.zip
pbrd: add return val for pbr_send_pbr_map()
Add a return val so caller can know if something was actually sent to zebra here. Some things need to be cleanued up by the caller if we arent getting a callback from zapi. Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
Diffstat (limited to 'pbrd/pbr_zebra.h')
-rw-r--r--pbrd/pbr_zebra.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/pbrd/pbr_zebra.h b/pbrd/pbr_zebra.h
index cc42e21ab..57c6f080c 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 void pbr_send_pbr_map(struct pbr_map_sequence *pbrms,
- struct pbr_map_interface *pmi, bool install,
- bool changed);
+extern int 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);