summaryrefslogtreecommitdiffstats
path: root/ospfd/ospf_vty.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2010-02-05 09:51:37 +0100
committerDavid Lamparter <equinox@diac24.net>2010-02-05 09:51:37 +0100
commit1bc5254798593fae60361dfac8b853f6c356895c (patch)
tree43d5d2da847ec3b1b84fe7b6b9787025c8ed75c0 /ospfd/ospf_vty.c
parentea7415e08c20dbcb97e287cd2a6a9bacaedf440f (diff)
parent55d24e7f3dbc69db37781dbff325bda0779778df (diff)
downloadquagga-1bc5254798593fae60361dfac8b853f6c356895c.tar.bz2
quagga-1bc5254798593fae60361dfac8b853f6c356895c.tar.xz
Merge branch 'current' into dn42quagga_1.1.0-dn42.11-rc0
Diffstat (limited to 'ospfd/ospf_vty.c')
-rw-r--r--ospfd/ospf_vty.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ospfd/ospf_vty.c b/ospfd/ospf_vty.c
index 01e85c71..434dae2a 100644
--- a/ospfd/ospf_vty.c
+++ b/ospfd/ospf_vty.c
@@ -7612,8 +7612,8 @@ config_write_interface (struct vty *vty)
if (memcmp (ifp->name, "VLINK", 5) == 0)
continue;
- vty_out (vty, "!%s", VTY_NEWLINE);
- vty_out (vty, "interface %s%s", ifp->name,
+ vty_prepend (vty, "!%s", VTY_NEWLINE);
+ vty_prepend (vty, "interface %s%s", ifp->name,
VTY_NEWLINE);
if (ifp->desc)
vty_out (vty, " description %s%s", ifp->desc,
@@ -7802,6 +7802,7 @@ config_write_interface (struct vty *vty)
#ifdef HAVE_OPAQUE_LSA
ospf_opaque_config_write_if (vty, ifp);
#endif /* HAVE_OPAQUE_LSA */
+ vty_unprepend (vty);
}
return write;