diff options
| author | Christian Hopps <chopps@labn.net> | 2021-08-26 11:57:33 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-26 11:57:33 -0400 |
| commit | d448e2c5f96b3430fd643f52b9264ca87a45c291 (patch) | |
| tree | d38574fb0ce8c936a003287d107eebf6eb718a8c /bfdd/bfdd_cli.c | |
| parent | a594fc56829eecf60bedcb763b8d5962432b4c32 (diff) | |
| parent | 07679ad98ab97a4b783f7ae54f88d4d70a5729de (diff) | |
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 26ff4a758a..384bb26fd7 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"); } |
