mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-09 13:18:52 +00:00
lib: Add notice of when we can remove some deprecated code.
The zapi_ipv4_route, zapi_ipv6_route and zapi_ipv4_route_ipv6_nexthop functions are deprecated. Add notice of when we can remove the deprecated code from the system. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
b782607f7f
commit
0cb76b9d8d
@ -420,6 +420,11 @@ extern struct interface *zebra_interface_vrf_update_read(struct stream *s,
|
|||||||
vrf_id_t *new_vrf_id);
|
vrf_id_t *new_vrf_id);
|
||||||
extern void zebra_interface_if_set_value(struct stream *, struct interface *);
|
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 void zebra_router_id_update_read(struct stream *s, struct prefix *rid);
|
||||||
|
|
||||||
|
#if CONFDATE > 20180823
|
||||||
|
CPP_NOTICE("zapi_ipv4_route, zapi_ipv6_route, zapi_ipv4_route_ipv6_nexthop as well as the zapi_ipv4 and zapi_ipv6 data structures should be removed now");
|
||||||
|
#endif
|
||||||
|
|
||||||
extern int zapi_ipv4_route(u_char, struct zclient *, struct prefix_ipv4 *,
|
extern int zapi_ipv4_route(u_char, struct zclient *, struct prefix_ipv4 *,
|
||||||
struct zapi_ipv4 *) __attribute__((deprecated));
|
struct zapi_ipv4 *) __attribute__((deprecated));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user