diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2017-07-13 20:17:06 +0200 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2017-07-14 10:20:03 +0200 |
commit | 625e016d14073dfefb69c0fa36cddb81fbe034ed (patch) | |
tree | 025bb557646390501de37e86d3813c111ec25d31 /nhrpd | |
parent | *: remove VTYNL, part 5 of 6 (diff) | |
download | frr-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.c | 6 |
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))); |