summaryrefslogtreecommitdiffstats
path: root/nhrpd
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 /nhrpd
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 'nhrpd')
-rw-r--r--nhrpd/nhrp_vty.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/nhrpd/nhrp_vty.c b/nhrpd/nhrp_vty.c
index 01300cb5c..2c680d108 100644
--- a/nhrpd/nhrp_vty.c
+++ b/nhrpd/nhrp_vty.c
@@ -678,14 +678,12 @@ static void show_ip_opennhrp_cache(struct nhrp_cache *c, void *pctx)
return;
vty_out(ctx->vty,
- "Type: %s%s"
- "Flags:%s%s%s"
+ "Type: %s\n"
+ "Flags:%s%s\n"
"Protocol-Address: %s/%zu\n",
nhrp_cache_type_str[c->cur.type],
- VTYNL,
(c->cur.peer && c->cur.peer->online) ? " up": "",
c->used ? " used": "",
- VTYNL,
sockunion2str(&c->remote_addr, buf, sizeof buf),
8 * family2addrsize(sockunion_family(&c->remote_addr)));