2003-06-08 Paul Jakma <paul@dishone.st>
Compile and warning fixes for the ripd 'passive-interface default' patch.
diff --git a/ripd/rip_interface.c b/ripd/rip_interface.c
index 1aec0f0..e187d8b 100644
--- a/ripd/rip_interface.c
+++ b/ripd/rip_interface.c
@@ -1981,7 +1981,7 @@
/* RIP passive interface listing. */
if (config_mode) {
if (passive_default)
- vty_out (vty, " passive-interface default%s", ifname, VTY_NEWLINE);
+ vty_out (vty, " passive-interface default%s", VTY_NEWLINE);
for (i = 0; i < vector_max (Vrip_passive_nondefault); i++)
if ((ifname = vector_slot (Vrip_passive_nondefault, i)) != NULL)
vty_out (vty, " %spassive-interface %s%s",