summaryrefslogtreecommitdiffstats
path: root/mgmtd
diff options
context:
space:
mode:
authorChristian Hopps <chopps@labn.net>2024-01-24 17:35:19 +0100
committerChristian Hopps <chopps@labn.net>2024-01-26 18:34:23 +0100
commit63ca751c1186483f82f0d464bc1c8c43e3a2755f (patch)
tree3c61ebdb0ba2977de423a335abae057ae4ed6631 /mgmtd
parentlib: convert route-map to mgmtd (diff)
downloadfrr-63ca751c1186483f82f0d464bc1c8c43e3a2755f.tar.xz
frr-63ca751c1186483f82f0d464bc1c8c43e3a2755f.zip
lib: convert filters to mgmtd
Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to 'mgmtd')
-rw-r--r--mgmtd/mgmt_main.c2
-rw-r--r--mgmtd/mgmt_vty.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/mgmtd/mgmt_main.c b/mgmtd/mgmt_main.c
index 9340d3d10..bd0a9895c 100644
--- a/mgmtd/mgmt_main.c
+++ b/mgmtd/mgmt_main.c
@@ -170,7 +170,7 @@ const struct frr_yang_module_info zebra_route_map_info = {
* MGMTd.
*/
static const struct frr_yang_module_info *const mgmt_yang_modules[] = {
- &frr_filter_info,
+ &frr_filter_cli_info,
&frr_interface_info,
&frr_route_map_cli_info,
&frr_routing_info,
diff --git a/mgmtd/mgmt_vty.c b/mgmtd/mgmt_vty.c
index 5aca6a8ef..5dd7be657 100644
--- a/mgmtd/mgmt_vty.c
+++ b/mgmtd/mgmt_vty.c
@@ -564,6 +564,7 @@ void mgmt_vty_init(void)
/*
* Library based CLI handlers
*/
+ filter_cli_init();
route_map_cli_init();
/*