diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-11-27 15:25:32 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-11-27 15:25:32 +0100 |
commit | 019a82cbbc6efac781e92ae82f8c84e5e92d39d3 (patch) | |
tree | e25ed818ae900054b656c8bfcbe655d5b26cf9f1 /zebra/zserv.h | |
parent | sharpd: Add Super Happy Advanced Routing Protocol (diff) | |
download | frr-019a82cbbc6efac781e92ae82f8c84e5e92d39d3.tar.xz frr-019a82cbbc6efac781e92ae82f8c84e5e92d39d3.zip |
zebra: Allow zebra_find_client to match on instance as well
zebra_find_client needs to match on instance as well so
protocols like ospfd will work correctly for notification.
Modify the zebra_find_client code to accept the instance
number and to pass it in appropriately.
Signed-off-by: Doanld Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/zserv.h')
-rw-r--r-- | zebra/zserv.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/zebra/zserv.h b/zebra/zserv.h index a62f1c89f..6077dc105 100644 --- a/zebra/zserv.h +++ b/zebra/zserv.h @@ -185,8 +185,8 @@ extern int zsend_interface_vrf_update(struct zserv *, struct interface *, extern int zsend_interface_link_params(struct zserv *, struct interface *); extern int zsend_pw_update(struct zserv *, struct zebra_pw *); -extern int zsend_route_notify_owner(u_char proto, vrf_id_t vrf_id, - struct prefix *p, +extern int zsend_route_notify_owner(u_char proto, u_short instance, + vrf_id_t vrf_id, struct prefix *p, enum zapi_route_notify_owner note); extern pid_t pid; @@ -197,7 +197,7 @@ extern void zserv_nexthop_num_warn(const char *, const struct prefix *, const unsigned int); extern int zebra_server_send_message(struct zserv *client); -extern struct zserv *zebra_find_client(u_char proto); +extern struct zserv *zebra_find_client(u_char proto, u_short instance); #if defined(HANDLE_ZAPI_FUZZING) extern void zserv_read_file(char *input); |