diff options
Diffstat (limited to 'ospfd')
-rw-r--r-- | ospfd/ospf_vty.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ospfd/ospf_vty.c b/ospfd/ospf_vty.c index 2cce373f..c22aa453 100644 --- a/ospfd/ospf_vty.c +++ b/ospfd/ospf_vty.c @@ -7326,8 +7326,9 @@ ospf_config_write (struct vty *vty) if (OSPF_IF_PARAM_CONFIGURED (oi->params, passive_interface) && oi->params->passive_interface == OSPF_IF_PASSIVE) - vty_out (vty, " passive-interface %s%s", - inet_ntoa (oi->address->u.prefix4), VTY_NEWLINE); + vty_out (vty, " passive-interface %s %s%s", + oi->ifp->name, + inet_ntoa (oi->address->u.prefix4), VTY_NEWLINE); } |