summaryrefslogtreecommitdiff
path: root/ripd/rip_interface.c
diff options
context:
space:
mode:
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",