diff options
| author | Donald Sharp <donaldsharp72@gmail.com> | 2024-03-08 08:11:14 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-08 08:11:14 -0500 |
| commit | 0d31f63dba95658fc8a553c450cecf78775b8423 (patch) | |
| tree | 54917504a4c783ccc1e43ff56f4ebcce8acffc15 /ripd/rip_cli.c | |
| parent | 10486960b464cfef9d8002d6e5a204de0d1ab995 (diff) | |
| parent | 1db1fbf7a65ff6b6b7c33d365d22020dbf8f8000 (diff) | |
Merge pull request #15497 from idryzhov/show-run-fixes
a couple of fixes for "show running-config"
Diffstat (limited to 'ripd/rip_cli.c')
| -rw-r--r-- | ripd/rip_cli.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ripd/rip_cli.c b/ripd/rip_cli.c index 29db1b232d..2e967698ea 100644 --- a/ripd/rip_cli.c +++ b/ripd/rip_cli.c @@ -83,6 +83,11 @@ void cli_show_router_rip(struct vty *vty, const struct lyd_node *dnode, vty_out(vty, "\n"); } +void cli_show_end_router_rip(struct vty *vty, const struct lyd_node *dnode) +{ + vty_out(vty, "exit\n"); +} + /* * XPath: /frr-ripd:ripd/instance/allow-ecmp */ @@ -1332,6 +1337,7 @@ const struct frr_yang_module_info frr_ripd_cli_info = { { .xpath = "/frr-ripd:ripd/instance", .cbs.cli_show = cli_show_router_rip, + .cbs.cli_show_end = cli_show_end_router_rip, }, { .xpath = "/frr-ripd:ripd/instance/allow-ecmp", |
