From 2a56df976d3fb0800921ef561c346b85e7acb6be Mon Sep 17 00:00:00 2001 From: hasso Date: Sun, 9 May 2004 23:16:40 +0000 Subject: Workaround for Bugzilla #58. --- vtysh/vtysh.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'vtysh/vtysh.c') diff --git a/vtysh/vtysh.c b/vtysh/vtysh.c index c92c6c46..9729d2ed 100644 --- a/vtysh/vtysh.c +++ b/vtysh/vtysh.c @@ -1040,6 +1040,8 @@ vtysh_exit (struct vty *vty) case RMAP_NODE: case VTY_NODE: case KEYCHAIN_NODE: + vtysh_execute("end"); + vtysh_execute("configure terminal"); vty->node = CONFIG_NODE; break; case BGP_VPNV4_NODE: -- cgit v1.2.1