diff options
| author | Igor Ryzhov <iryzhov@nfware.com> | 2023-04-12 17:17:03 +0300 |
|---|---|---|
| committer | Igor Ryzhov <iryzhov@nfware.com> | 2023-04-12 17:17:03 +0300 |
| commit | 1d1f77b60d0c804af23f9b813fb6b26a303e8c05 (patch) | |
| tree | 6cf0c1a31933995c85c13b0b9cb1e06305a2527f /ripd | |
| parent | 4150fc5399f41884c5fd0f732b40d397b525c580 (diff) | |
lib: convert if_rmap config output to northbound
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'ripd')
| -rw-r--r-- | ripd/rip_nb.c | 2 | ||||
| -rw-r--r-- | ripd/ripd.c | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/ripd/rip_nb.c b/ripd/rip_nb.c index 1a7b34adde..fa6652faf4 100644 --- a/ripd/rip_nb.c +++ b/ripd/rip_nb.c @@ -10,6 +10,7 @@ #include "libfrr.h" #include "ripd/rip_nb.h" +#include "lib/if_rmap.h" /* clang-format off */ const struct frr_yang_module_info frr_ripd_info = { @@ -170,6 +171,7 @@ const struct frr_yang_module_info frr_ripd_info = { .cbs = { .create = ripd_instance_if_route_maps_if_route_map_create, .destroy = ripd_instance_if_route_maps_if_route_map_destroy, + .cli_show = cli_show_if_route_map, } }, { diff --git a/ripd/ripd.c b/ripd/ripd.c index 7dbe2bbccf..fb3d574aaa 100644 --- a/ripd/ripd.c +++ b/ripd/ripd.c @@ -3204,9 +3204,6 @@ static int config_write_rip(struct vty *vty) /* Distribute configuration. */ config_write_distribute(vty, rip->distribute_ctx); - /* Interface routemap configuration */ - config_write_if_rmap(vty, rip->if_rmap_ctx); - vty_out(vty, "exit\n"); write = 1; |
