diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-02-07 03:03:34 +0000 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-02-07 09:35:49 -0500 |
| commit | a60ffbc98533a642c5e84a5f76c8246b88147888 (patch) | |
| tree | b32feb6a37ff95d5f406aeb1b7707e3b414abcd0 /sharpd/sharp_zebra.h | |
| parent | ecc4d697cd463cf84fd4a10bd09a46f92af9e1a1 (diff) | |
sharpd: Allow nhop tracking to specify connected
Allow the sharp daemon to specify whether or not a watched
nexthop should be connected or not.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'sharpd/sharp_zebra.h')
| -rw-r--r-- | sharpd/sharp_zebra.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sharpd/sharp_zebra.h b/sharpd/sharp_zebra.h index 7326056cae..7e6ac7670b 100644 --- a/sharpd/sharp_zebra.h +++ b/sharpd/sharp_zebra.h @@ -28,7 +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); +extern void sharp_zebra_nexthop_watch(struct prefix *p, bool watch, + bool connected); extern void sharp_install_routes_helper(struct prefix *p, uint8_t instance, struct nexthop_group *nhg, |
