summaryrefslogtreecommitdiffstats
path: root/zebra/rtadv.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 /zebra/rtadv.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 'zebra/rtadv.c')
-rw-r--r--zebra/rtadv.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/zebra/rtadv.c b/zebra/rtadv.c
index e8c223f2..9528a31a 100644
--- a/zebra/rtadv.c
+++ b/zebra/rtadv.c
@@ -1585,7 +1585,12 @@ rtadv_config_write (struct vty *vty, struct interface *ifp)
if (zif->rtadv.AdvSendAdvertisements)
vty_out (vty, " no ipv6 nd suppress-ra%s", VTY_NEWLINE);
else
- vty_out (vty, " ipv6 nd suppress-ra%s", VTY_NEWLINE);
+ {
+ if (vty_prepending (vty))
+ vty_prepend (vty, " ipv6 nd suppress-ra%s", VTY_NEWLINE);
+ else
+ vty_out (vty, " ipv6 nd suppress-ra%s", VTY_NEWLINE);
+ }
}