From: paul Date: Wed, 6 Aug 2003 22:41:29 +0000 (+0000) Subject: 2003-08-06 Anders K. Pedersen X-Git-Tag: frr-2.0-rc1~3942 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=5fdc1e525707dfa651db0aec38bec13b17adc8f2;p=mirror%2Ffrr.git 2003-08-06 Anders K. Pedersen * ospfd/ospf_vty.c: (ospf_config_write) fix output of passive-interface when IP has been specified - we still need to print the interface. --- diff --git a/ospfd/ospf_vty.c b/ospfd/ospf_vty.c index 2cce373f4a..c22aa45384 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); }