diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-05-17 16:56:45 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-05-17 16:59:17 +0200 |
commit | ae252c027f6e9dcc5ae804d8c8ba5575860bf4d2 (patch) | |
tree | 18461dec74f81f08e45628f32e213ecfe085e902 /sharpd/sharp_zebra.h | |
parent | sharpd: Add some ability to ignore route-map commands (diff) | |
download | frr-ae252c027f6e9dcc5ae804d8c8ba5575860bf4d2.tar.xz frr-ae252c027f6e9dcc5ae804d8c8ba5575860bf4d2.zip |
sharp: Allow the specification of instance when adding/deleting routes
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to '')
-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 0c906fc4f..58438ed01 100644 --- a/sharpd/sharp_zebra.h +++ b/sharpd/sharp_zebra.h @@ -25,7 +25,7 @@ extern void sharp_zebra_init(void); extern void vrf_label_add(vrf_id_t vrf_id, afi_t afi, mpls_label_t label); -extern void route_add(struct prefix *p, struct nexthop *nh); -extern void route_delete(struct prefix *p); +extern void route_add(struct prefix *p, uint8_t instance, struct nexthop *nh); +extern void route_delete(struct prefix *p, uint8_t instance); extern void sharp_zebra_nexthop_watch(struct prefix *p, bool watch); #endif |