]> git.puffer.fish Git - mirror/frr.git/commitdiff
Workaround for Bugzilla #58.
authorhasso <hasso>
Sun, 9 May 2004 23:16:40 +0000 (23:16 +0000)
committerhasso <hasso>
Sun, 9 May 2004 23:16:40 +0000 (23:16 +0000)
vtysh/ChangeLog
vtysh/vtysh.c

index 8e2875bf84a28073c79d58a4b210baf4987a7980..8e55786f15deb88eed57efc57d1bd63cf1c4e22d 100644 (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
index c92c6c46def608486f6cea6aaefec1677b69b9fb..9729d2ed45022f9b75b7c5ad1a5144a4cf26f5a7 100644 (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: