diff options
Diffstat (limited to 'vtysh/vtysh.c')
-rw-r--r-- | vtysh/vtysh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vtysh/vtysh.c b/vtysh/vtysh.c index fa48a44e..08ed7498 100644 --- a/vtysh/vtysh.c +++ b/vtysh/vtysh.c @@ -523,7 +523,7 @@ vtysh_config_from_file (struct vty *vty, FILE *fp) for (i = 0; i < VTYSH_INDEX_MAX; i++) { - if (cmd->daemon && vtysh_client[i].flag) + if (cmd->daemon & vtysh_client[i].flag) { cmd_stat = vtysh_client_execute (&vtysh_client[i], vty->buf, stdout); |