diff options
author | Igor Ryzhov <iryzhov@nfware.com> | 2023-04-12 16:17:03 +0200 |
---|---|---|
committer | Igor Ryzhov <iryzhov@nfware.com> | 2023-04-12 16:17:03 +0200 |
commit | 1d1f77b60d0c804af23f9b813fb6b26a303e8c05 (patch) | |
tree | 6cf0c1a31933995c85c13b0b9cb1e06305a2527f /ripngd | |
parent | Merge pull request #13242 from LabNConsulting/chopps/no_rip_in_lib (diff) | |
download | frr-1d1f77b60d0c804af23f9b813fb6b26a303e8c05.tar.xz frr-1d1f77b60d0c804af23f9b813fb6b26a303e8c05.zip |
lib: convert if_rmap config output to northbound
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'ripngd')
-rw-r--r-- | ripngd/ripng_nb.c | 2 | ||||
-rw-r--r-- | ripngd/ripngd.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/ripngd/ripng_nb.c b/ripngd/ripng_nb.c index 2f412e519..1c6d7191a 100644 --- a/ripngd/ripng_nb.c +++ b/ripngd/ripng_nb.c @@ -10,6 +10,7 @@ #include "libfrr.h" #include "ripngd/ripng_nb.h" +#include "lib/if_rmap.h" /* clang-format off */ const struct frr_yang_module_info frr_ripngd_info = { @@ -119,6 +120,7 @@ const struct frr_yang_module_info frr_ripngd_info = { .cbs = { .create = ripngd_instance_if_route_maps_if_route_map_create, .destroy = ripngd_instance_if_route_maps_if_route_map_destroy, + .cli_show = cli_show_if_route_map, } }, { diff --git a/ripngd/ripngd.c b/ripngd/ripngd.c index 79e8871f6..2f6409a70 100644 --- a/ripngd/ripngd.c +++ b/ripngd/ripngd.c @@ -2231,7 +2231,6 @@ static int ripng_config_write(struct vty *vty) nb_cli_show_dnode_cmds(vty, dnode, false); config_write_distribute(vty, ripng->distribute_ctx); - config_write_if_rmap(vty, ripng->if_rmap_ctx); vty_out(vty, "exit\n"); |