mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-15 05:18:47 +00:00
2003-08-06 Anders K. Pedersen <mailnews+router-quagga-dev@news.cohaesio.com>
* ospfd/ospf_vty.c: (ospf_config_write) fix output of passive-interface when IP has been specified - we still need to print the interface.
This commit is contained in:
parent
4f991ef0bd
commit
5fdc1e5257
@ -7326,8 +7326,9 @@ ospf_config_write (struct vty *vty)
|
|||||||
|
|
||||||
if (OSPF_IF_PARAM_CONFIGURED (oi->params, passive_interface) &&
|
if (OSPF_IF_PARAM_CONFIGURED (oi->params, passive_interface) &&
|
||||||
oi->params->passive_interface == OSPF_IF_PASSIVE)
|
oi->params->passive_interface == OSPF_IF_PASSIVE)
|
||||||
vty_out (vty, " passive-interface %s%s",
|
vty_out (vty, " passive-interface %s %s%s",
|
||||||
inet_ntoa (oi->address->u.prefix4), VTY_NEWLINE);
|
oi->ifp->name,
|
||||||
|
inet_ntoa (oi->address->u.prefix4), VTY_NEWLINE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user