summaryrefslogtreecommitdiffstats
path: root/ripngd
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2017-07-13 20:17:06 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2017-07-14 10:20:03 +0200
commit625e016d14073dfefb69c0fa36cddb81fbe034ed (patch)
tree025bb557646390501de37e86d3813c111ec25d31 /ripngd
parent*: remove VTYNL, part 5 of 6 (diff)
downloadfrr-625e016d14073dfefb69c0fa36cddb81fbe034ed.tar.xz
frr-625e016d14073dfefb69c0fa36cddb81fbe034ed.zip
*: remove VTYNL, part 6 of 6
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'ripngd')
-rw-r--r--ripngd/ripng_peer.c4
-rw-r--r--ripngd/ripngd.c12
2 files changed, 7 insertions, 9 deletions
diff --git a/ripngd/ripng_peer.c b/ripngd/ripng_peer.c
index 03f3b4e05..f27c33f37 100644
--- a/ripngd/ripng_peer.c
+++ b/ripngd/ripng_peer.c
@@ -193,8 +193,8 @@ ripng_peer_display (struct vty *vty)
for (ALL_LIST_ELEMENTS (peer_list, node, nnode, peer))
{
- vty_out (vty, " %s %s%14s %10d %10d %10d %s\n", inet6_ntoa (peer->addr),
- VTYNL, " ",
+ vty_out (vty, " %s \n%14s %10d %10d %10d %s\n", inet6_ntoa (peer->addr),
+ " ",
peer->recv_badpackets, peer->recv_badroutes,
ZEBRA_RIPNG_DISTANCE_DEFAULT,
ripng_peer_uptime(peer, timebuf, RIPNG_UPTIME_LEN));
diff --git a/ripngd/ripngd.c b/ripngd/ripngd.c
index eb2d1a693..0b1faae03 100644
--- a/ripngd/ripngd.c
+++ b/ripngd/ripngd.c
@@ -2004,13 +2004,11 @@ DEFUN (show_ipv6_ripng,
return CMD_SUCCESS;
/* Header of display. */
- vty_out (vty, "Codes: R - RIPng, C - connected, S - Static, O - OSPF, B - BGP%s"
- "Sub-codes:%s"
- " (n) - normal, (s) - static, (d) - default, (r) - redistribute,%s"
- " (i) - interface, (a/S) - aggregated/Suppressed%s%s"
- " Network Next Hop Via Metric Tag Time\n",
- VTYNL, VTYNL, VTYNL,
- VTYNL, VTYNL);
+ vty_out (vty, "Codes: R - RIPng, C - connected, S - Static, O - OSPF, B - BGP\n"
+ "Sub-codes:\n"
+ " (n) - normal, (s) - static, (d) - default, (r) - redistribute,\n"
+ " (i) - interface, (a/S) - aggregated/Suppressed\n\n"
+ " Network Next Hop Via Metric Tag Time\n");
for (rp = route_top (ripng->table); rp; rp = route_next (rp))
{