diff options
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 3fedde354..f61eac000 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; } |