summaryrefslogtreecommitdiffstats
path: root/babeld/babeld.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 /babeld/babeld.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 'babeld/babeld.c')
-rw-r--r--babeld/babeld.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/babeld/babeld.c b/babeld/babeld.c
index e17e00ca5..b2f8176aa 100644
--- a/babeld/babeld.c
+++ b/babeld/babeld.c
@@ -83,25 +83,25 @@ babel_config_write (struct vty *vty)
if (!babel_routing_process)
return lines;
- vty_outln (vty, "router babel");
+ vty_out (vty, "router babel\n");
if (diversity_kind != DIVERSITY_NONE)
{
- vty_outln (vty, " babel diversity");
+ vty_out (vty, " babel diversity\n");
lines++;
}
if (diversity_factor != BABEL_DEFAULT_DIVERSITY_FACTOR)
{
- vty_outln (vty, " babel diversity-factor %d",diversity_factor);
+ vty_out (vty, " babel diversity-factor %d\n",diversity_factor);
lines++;
}
if (resend_delay != BABEL_DEFAULT_RESEND_DELAY)
{
- vty_outln (vty, " babel resend-delay %u", resend_delay);
+ vty_out (vty, " babel resend-delay %u\n", resend_delay);
lines++;
}
if (smoothing_half_life != BABEL_DEFAULT_SMOOTHING_HALF_LIFE)
{
- vty_outln (vty, " babel smoothing-half-life %u",
+ vty_out (vty, " babel smoothing-half-life %u\n",
smoothing_half_life);
lines++;
}
@@ -112,7 +112,7 @@ babel_config_write (struct vty *vty)
if (i != zclient->redist_default &&
vrf_bitmap_check (zclient->redist[AFI_IP][i], VRF_DEFAULT))
{
- vty_outln (vty, " redistribute %s", zebra_route_string(i));
+ vty_out (vty, " redistribute %s\n", zebra_route_string(i));
lines++;
}