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 /babeld | |
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 'babeld')
-rw-r--r-- | babeld/babel_interface.c | 2 | ||||
-rw-r--r-- | babeld/babeld.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/babeld/babel_interface.c b/babeld/babel_interface.c index c1e5ffde3..615ed9fee 100644 --- a/babeld/babel_interface.c +++ b/babeld/babel_interface.c @@ -1362,7 +1362,7 @@ interface_config_write (struct vty *vty) write++; } } - vty_endframe (vty, "!\n"); + vty_endframe (vty, "exit\n!\n"); write++; } return write; diff --git a/babeld/babeld.c b/babeld/babeld.c index b9623b64b..b9037423b 100644 --- a/babeld/babeld.c +++ b/babeld/babeld.c @@ -132,6 +132,8 @@ babel_config_write (struct vty *vty) lines += config_write_distribute (vty, babel_routing_process->distribute_ctx); + vty_out (vty, "exit\n"); + return lines; } |