diff options
Diffstat (limited to 'sharpd')
-rw-r--r-- | sharpd/sharp_nht.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sharpd/sharp_nht.c b/sharpd/sharp_nht.c index a90387186..da1489976 100644 --- a/sharpd/sharp_nht.c +++ b/sharpd/sharp_nht.c @@ -124,6 +124,10 @@ static void sharp_nhgroup_add_cb(const char *name) sharp_nhg_rb_add(&nhg_head, snhg); } +static void sharp_nhgroup_modify_cb(const struct nexthop_group_cmd *nhgc) +{ +} + static void sharp_nhgroup_add_nexthop_cb(const struct nexthop_group_cmd *nhgc, const struct nexthop *nhop) { @@ -215,7 +219,8 @@ void sharp_nhgroup_init(void) sharp_nhg_rb_init(&nhg_head); nhg_id = zclient_get_nhg_start(ZEBRA_ROUTE_SHARP); - nexthop_group_init(sharp_nhgroup_add_cb, sharp_nhgroup_add_nexthop_cb, + nexthop_group_init(sharp_nhgroup_add_cb, sharp_nhgroup_modify_cb, + sharp_nhgroup_add_nexthop_cb, sharp_nhgroup_del_nexthop_cb, sharp_nhgroup_delete_cb); } |