summaryrefslogtreecommitdiff
path: root/ripd/rip_interface.c
diff options
context:
space:
mode:
authorpaul <paul>2003-06-08 21:22:18 +0000
committerpaul <paul>2003-06-08 21:22:18 +0000
commit01d0908a17fcaefa9cf4e8379765ed79dba07db5 (patch)
tree6762136870bc297dc7486448c5ab6000a3dddaf4 /ripd/rip_interface.c
parent8708b74fd3bb887e81af4eea8beb0e16dd12ad32 (diff)
2003-06-08 Paul Jakma <paul@dishone.st>
Compile and warning fixes for the ripd 'passive-interface default' patch.
Diffstat (limited to 'ripd/rip_interface.c')
-rw-r--r--ripd/rip_interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ripd/rip_interface.c b/ripd/rip_interface.c
index 1aec0f09..e187d8bf 100644
--- a/ripd/rip_interface.c
+++ b/ripd/rip_interface.c
@@ -1981,7 +1981,7 @@ config_write_rip_network (struct vty *vty, int config_mode)
/* 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",