summaryrefslogtreecommitdiffstats
path: root/pimd/pim_static.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2017-07-13 17:49:13 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2017-07-13 20:29:22 +0200
commit5c7571d43f57317b0827ac82fbebc4cdc6865be0 (patch)
tree2bc63ccbd805abc9689e9f3345e34871558d5c26 /pimd/pim_static.c
parentlib: move \n vs. \r\n handling into vty code (diff)
downloadfrr-5c7571d43f57317b0827ac82fbebc4cdc6865be0.tar.xz
frr-5c7571d43f57317b0827ac82fbebc4cdc6865be0.zip
*: ditch vty_outln(), part 1 of 2
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'pimd/pim_static.c')
-rw-r--r--pimd/pim_static.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pimd/pim_static.c b/pimd/pim_static.c
index a35bb60f4..d373581fe 100644
--- a/pimd/pim_static.c
+++ b/pimd/pim_static.c
@@ -337,9 +337,9 @@ pim_static_write_mroute (struct vty *vty, struct interface *ifp)
{
struct interface *oifp = pim_if_find_by_vif_index (i);
if (sroute->source.s_addr == 0)
- vty_outln (vty, " ip mroute %s %s", oifp->name, gbuf);
+ vty_out (vty, " ip mroute %s %s\n", oifp->name, gbuf);
else
- vty_outln (vty, " ip mroute %s %s %s", oifp->name, gbuf,
+ vty_out (vty, " ip mroute %s %s %s\n", oifp->name, gbuf,
sbuf);
count ++;
}