]> git.puffer.fish Git - mirror/frr.git/commitdiff
vtysh: fix config write
authorDavid Lamparter <equinox@opensourcerouting.org>
Thu, 10 Nov 2016 12:59:54 +0000 (13:59 +0100)
committerDavid Lamparter <equinox@opensourcerouting.org>
Thu, 10 Nov 2016 13:01:15 +0000 (14:01 +0100)
vtysh/vtysh_main.c

index d9c0e3fbfda21cb8518f5f45bf1be948c9134852..999d90ab225d992e7df109b6282360d25724864d 100644 (file)
@@ -419,6 +419,7 @@ main (int argc, char **argv, char **env)
 
   if (writeconfig)
     {
+      vtysh_execute ("enable");
       return vtysh_write_config_integrated ();
     }