From 9f1f8df328271d3cd47a28c74efaeeefabc680ec Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Thu, 10 Nov 2016 13:59:54 +0100 Subject: [PATCH] vtysh: fix config write --- vtysh/vtysh_main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/vtysh/vtysh_main.c b/vtysh/vtysh_main.c index d9c0e3fbfd..999d90ab22 100644 --- a/vtysh/vtysh_main.c +++ b/vtysh/vtysh_main.c @@ -419,6 +419,7 @@ main (int argc, char **argv, char **env) if (writeconfig) { + vtysh_execute ("enable"); return vtysh_write_config_integrated (); } -- 2.39.5