]> git.puffer.fish Git - matthieu/frr.git/commitdiff
2003-08-06 Anders K. Pedersen <mailnews+router-quagga-dev@news.cohaesio.com>
authorpaul <paul>
Wed, 6 Aug 2003 22:41:29 +0000 (22:41 +0000)
committerpaul <paul>
Wed, 6 Aug 2003 22:41:29 +0000 (22:41 +0000)
* ospfd/ospf_vty.c: (ospf_config_write) fix output of
passive-interface when IP has been specified - we still need to
print the interface.

ospfd/ospf_vty.c

index 2cce373f4afbb82c2aa8a09afd2c70d33a8b1526..c22aa453848d6db0b919be72cee73cc453ad48f8 100644 (file)
@@ -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);
         }