Workaround for Bugzilla #58.

This commit is contained in:
hasso 2004-05-09 23:16:40 +00:00
parent 8842468c7a
commit 2a56df976d
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2004-05-10 Hasso Tepper <hasso@estpak.ee>
* vtysh.c: Workaround for most hated vtysh bug - Bugzilla #58.
2004-04-06 Hasso Tepper <hasso@estpak.ee>
* vtysh_main.c: Don't save command to history if last command already

View File

@ -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: