diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-02-13 14:55:12 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-02-13 15:28:38 +0100 |
commit | b47dc61ade27c295e5a9c1b4d00344231498da67 (patch) | |
tree | cce86d90ecaac1f8f5f3959f8e9e7f8a570769ee /sharpd/sharp_zebra.h | |
parent | Merge pull request #3778 from mjstapp/fix_dplane_update (diff) | |
download | frr-b47dc61ade27c295e5a9c1b4d00344231498da67.tar.xz frr-b47dc61ade27c295e5a9c1b4d00344231498da67.zip |
sharpd: Allow the registration of import checks to zebra
Minor code modification to allow the sharp_zebra.c code
to differentiate between import check or nexthop watch
types.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'sharpd/sharp_zebra.h')
-rw-r--r-- | sharpd/sharp_zebra.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sharpd/sharp_zebra.h b/sharpd/sharp_zebra.h index 7e6ac7670..b219022f0 100644 --- a/sharpd/sharp_zebra.h +++ b/sharpd/sharp_zebra.h @@ -28,8 +28,8 @@ extern void vrf_label_add(vrf_id_t vrf_id, afi_t afi, mpls_label_t label); extern void route_add(struct prefix *p, uint8_t instance, struct nexthop_group *nhg); extern void route_delete(struct prefix *p, uint8_t instance); -extern void sharp_zebra_nexthop_watch(struct prefix *p, bool watch, - bool connected); +extern void sharp_zebra_nexthop_watch(struct prefix *p, bool import, + bool watch, bool connected); extern void sharp_install_routes_helper(struct prefix *p, uint8_t instance, struct nexthop_group *nhg, |