summaryrefslogtreecommitdiff
path: root/vtysh/vtysh.c
diff options
context:
space:
mode:
authorhasso <hasso>2004-05-09 23:16:40 +0000
committerhasso <hasso>2004-05-09 23:16:40 +0000
commit2a56df976d3fb0800921ef561c346b85e7acb6be (patch)
tree889f9b8af0cbb82cd81d625c8ea683a5aecddfad /vtysh/vtysh.c
parent8842468c7a1c13c9dde1e26714eb2b2c56ec053b (diff)
Workaround for Bugzilla #58.
Diffstat (limited to 'vtysh/vtysh.c')
-rw-r--r--vtysh/vtysh.c2
1 files changed, 2 insertions, 0 deletions
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: