diff options
author | Christian Hopps <chopps@labn.net> | 2021-08-26 17:57:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-26 17:57:33 +0200 |
commit | d448e2c5f96b3430fd643f52b9264ca87a45c291 (patch) | |
tree | d38574fb0ce8c936a003287d107eebf6eb718a8c /bfdd/bfdd_cli.c | |
parent | Merge pull request #9492 from Jafaral/pim-cov (diff) | |
parent | *: explicitly print "exit" at the end of every node config (diff) | |
download | frr-d448e2c5f96b3430fd643f52b9264ca87a45c291.tar.xz frr-d448e2c5f96b3430fd643f52b9264ca87a45c291.zip |
Merge pull request #9331 from idryzhov/explicit-exit
*: explicitly print "exit" at the end of every node config
Diffstat (limited to 'bfdd/bfdd_cli.c')
-rw-r--r-- | bfdd/bfdd_cli.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bfdd/bfdd_cli.c b/bfdd/bfdd_cli.c index 26ff4a758..384bb26fd 100644 --- a/bfdd/bfdd_cli.c +++ b/bfdd/bfdd_cli.c @@ -101,6 +101,7 @@ void bfd_cli_show_header(struct vty *vty, void bfd_cli_show_header_end(struct vty *vty, struct lyd_node *dnode __attribute__((__unused__))) { + vty_out(vty, "exit\n"); vty_out(vty, "!\n"); } @@ -275,6 +276,7 @@ void bfd_cli_show_multi_hop_peer(struct vty *vty, void bfd_cli_show_peer_end(struct vty *vty, struct lyd_node *dnode __attribute__((__unused__))) { + vty_out(vty, " exit\n"); vty_out(vty, " !\n"); } |