diff options
author | Renato Westphal <renato@opensourcerouting.org> | 2017-08-24 00:12:48 +0200 |
---|---|---|
committer | Renato Westphal <renato@opensourcerouting.org> | 2017-08-24 01:28:34 +0200 |
commit | f474e08be0c3c6e92bf265700d013388183f0acb (patch) | |
tree | b6a1b6a8a5ee59a012e105accee152fc8e832267 | |
parent | ospf6d: fix regression detected by topotest (diff) | |
download | frr-f474e08be0c3c6e92bf265700d013388183f0acb.tar.xz frr-f474e08be0c3c6e92bf265700d013388183f0acb.zip |
lib: mark the old zebra API for route advertisement as deprecated
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
-rw-r--r-- | lib/zclient.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/zclient.h b/lib/zclient.h index f454a9d8a..bae52a441 100644 --- a/lib/zclient.h +++ b/lib/zclient.h @@ -369,7 +369,7 @@ extern struct interface *zebra_interface_vrf_update_read(struct stream *s, extern void zebra_interface_if_set_value(struct stream *, struct interface *); extern void zebra_router_id_update_read(struct stream *s, struct prefix *rid); extern int zapi_ipv4_route(u_char, struct zclient *, struct prefix_ipv4 *, - struct zapi_ipv4 *); + struct zapi_ipv4 *) __attribute__((deprecated)); extern struct interface *zebra_interface_link_params_read(struct stream *); extern size_t zebra_interface_link_params_write(struct stream *, @@ -420,10 +420,11 @@ struct zapi_ipv6 { extern int zapi_ipv6_route(u_char cmd, struct zclient *zclient, struct prefix_ipv6 *p, struct prefix_ipv6 *src_p, - struct zapi_ipv6 *api); + struct zapi_ipv6 *api) __attribute__((deprecated)); extern int zapi_ipv4_route_ipv6_nexthop(u_char, struct zclient *, struct prefix_ipv4 *, - struct zapi_ipv6 *); + struct zapi_ipv6 *) + __attribute__((deprecated)); extern int zclient_route_send(u_char, struct zclient *, struct zapi_route *); extern int zapi_route_encode(u_char, struct stream *, struct zapi_route *); extern int zapi_route_decode(struct stream *, struct zapi_route *); |