summaryrefslogtreecommitdiffstats
path: root/babeld/babel_interface.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2017-07-13 18:50:29 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2017-07-14 10:19:58 +0200
commit181039f3d7a5f59ed31274210a9626f2cc5f673e (patch)
tree945a074b1f8f7bd53c21e6b65ec7e08de15b2121 /babeld/babel_interface.c
parent*: ditch vty_outln(), part 1 of 2 (diff)
downloadfrr-181039f3d7a5f59ed31274210a9626f2cc5f673e.tar.xz
frr-181039f3d7a5f59ed31274210a9626f2cc5f673e.zip
*: ditch vty_outln(), part 2 of 2
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'babeld/babel_interface.c')
-rw-r--r--babeld/babel_interface.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/babeld/babel_interface.c b/babeld/babel_interface.c
index 5d60f4193..831df9b68 100644
--- a/babeld/babel_interface.c
+++ b/babeld/babel_interface.c
@@ -879,7 +879,7 @@ show_babel_interface_sub (struct vty *vty, struct interface *ifp)
}
babel_ifp = babel_get_if_nfo (ifp);
vty_out (vty, " Babel protocol is running on this interface\n");
- vty_outln (vty, " Operating mode is \"%s\"",
+ vty_out (vty, " Operating mode is \"%s\"\n",
CHECK_FLAG(babel_ifp->flags, BABEL_IF_WIRED) ? "wired" : "wireless");
vty_out (vty, " Split horizon mode is %s\n",
CHECK_FLAG(babel_ifp->flags, BABEL_IF_SPLIT_HORIZON) ? "On" : "Off");
@@ -917,9 +917,9 @@ DEFUN (show_babel_interface,
static void
show_babel_neighbour_sub (struct vty *vty, struct neighbour *neigh)
{
- vty_outln (vty,
+ vty_out (vty,
"Neighbour %s dev %s reach %04x rxcost %d txcost %d "
- "rtt %s rttcost %d%s.",
+ "rtt %s rttcost %d%s.\n",
format_address(neigh->address),
neigh->ifp->name,
neigh->reach,
@@ -1009,9 +1009,9 @@ show_babel_routes_sub(struct babel_route *route, struct vty *vty,
channels[0] = '\0';
}
- vty_outln (vty,
+ vty_out (vty,
"%s metric %d refmetric %d id %s seqno %d%s age %d "
- "via %s neigh %s%s%s%s",
+ "via %s neigh %s%s%s%s\n",
format_prefix(route->src->prefix, route->src->plen),
route_metric(route), route->refmetric,
format_eui64(route->src->id),