mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 08:50:26 +00:00
2006-01-11 Erik Smit <zoiah@zoiah.net>
* vtysh.c: (vtysh_config_from_file) fix regression from a previous cleanup, vtysh_client.flags and cmd->daemon are bitwise flags, bitwise & was meant to be used. Fixes breakage of integrated config file reading.
This commit is contained in:
parent
1a643f88b2
commit
44316fef4d
@ -1,3 +1,10 @@
|
||||
2006-01-11 Erik Smit <zoiah@zoiah.net>
|
||||
|
||||
* vtysh.c: (vtysh_config_from_file) fix regression from
|
||||
a previous cleanup, vtysh_client.flags and cmd->daemon are
|
||||
bitwise flags, bitwise & was meant to be used. Fixes breakage
|
||||
of integrated config file reading.
|
||||
|
||||
2005-09-15 Hasso Tepper <hasso at quagga.net>
|
||||
|
||||
* vtysh.c: Fix warning by casting rl_bind_key 2. argument correctly.
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user