diff options
Diffstat (limited to 'vtysh/vtysh.c')
-rw-r--r-- | vtysh/vtysh.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vtysh/vtysh.c b/vtysh/vtysh.c index 04d9d7d2..6ece45f8 100644 --- a/vtysh/vtysh.c +++ b/vtysh/vtysh.c @@ -262,7 +262,7 @@ vtysh_execute_func (const char *line, int pager) if (vline == NULL) return; - ret = cmd_execute_command (vline, vty, &cmd); + ret = cmd_execute_command (vline, vty, &cmd, 1); cmd_free_strvec (vline); @@ -340,7 +340,7 @@ vtysh_execute_func (const char *line, int pager) return; } - ret = cmd_execute_command (vline, vty, &cmd); + ret = cmd_execute_command (vline, vty, &cmd, 1); cmd_free_strvec (vline); if (ret != CMD_SUCCESS_DAEMON) break; |