diff options
author | David Lamparter <equinox@diac24.net> | 2021-03-22 19:41:54 +0100 |
---|---|---|
committer | David Lamparter <equinox@diac24.net> | 2021-03-22 19:41:54 +0100 |
commit | 8392606ec10309999162c9666bf5d964b85d28cc (patch) | |
tree | 1c34f704776f7f98984c9601820fac2221bcca02 /staticd/static_routes.h | |
parent | ospf6d: kill ospf6_memory.h, use MTYPE_STATIC (diff) | |
download | frr-8392606ec10309999162c9666bf5d964b85d28cc.tar.xz frr-8392606ec10309999162c9666bf5d964b85d28cc.zip |
staticd: kill static_memory.h, use MTYPE_STATIC
This one needed a move of zebra_stable_node_cleanup() from static_vrf.c
to static_routes.c. But it seems to actually make sense there.
Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'staticd/static_routes.h')
-rw-r--r-- | staticd/static_routes.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/staticd/static_routes.h b/staticd/static_routes.h index 0fbf0674d..f64a40329 100644 --- a/staticd/static_routes.h +++ b/staticd/static_routes.h @@ -22,6 +22,9 @@ #include "lib/mpls.h" #include "table.h" +#include "memory.h" + +DECLARE_MGROUP(STATIC); /* Static route label information */ struct static_nh_label { @@ -198,6 +201,9 @@ extern bool static_add_nexthop_validate(const char *nh_vrf_name, extern struct stable_info *static_get_stable_info(struct route_node *rn); extern void static_route_info_init(struct static_route_info *si); +extern void zebra_stable_node_cleanup(struct route_table *table, + struct route_node *node); + /* * Max string return via API static_get_nh_str in size_t */ |