From 96ade3ed7716c89b8047a1c0ab3377985d461cf8 Mon Sep 17 00:00:00 2001 From: Quentin Young Date: Wed, 21 Jun 2017 03:10:57 +0000 Subject: *: use vty_outln Saves 400 lines Signed-off-by: Quentin Young --- bgpd/bgp_aspath.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bgpd/bgp_aspath.c') diff --git a/bgpd/bgp_aspath.c b/bgpd/bgp_aspath.c index 372650a2a..f9daeb2ed 100644 --- a/bgpd/bgp_aspath.c +++ b/bgpd/bgp_aspath.c @@ -2176,7 +2176,7 @@ aspath_show_all_iterator (struct hash_backet *backet, struct vty *vty) as = (struct aspath *) backet->data; vty_out (vty, "[%p:%u] (%ld) ", (void *)backet, backet->key, as->refcnt); - vty_out (vty, "%s%s", as->str, VTY_NEWLINE); + vty_outln (vty, "%s", as->str); } /* Print all aspath and hash information. This function is used from -- cgit v1.2.3