diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2016-11-10 13:59:54 +0100 |
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2016-11-10 14:01:15 +0100 |
| commit | 9f1f8df328271d3cd47a28c74efaeeefabc680ec (patch) | |
| tree | a4279136e5c33e5695f75cbd9dd21a182002fc3c /vtysh/vtysh_main.c | |
| parent | e68ab6bb0f199a04e27e54fce583e56494042751 (diff) | |
vtysh: fix config write
Diffstat (limited to 'vtysh/vtysh_main.c')
| -rw-r--r-- | vtysh/vtysh_main.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 (); } |
