]> git.proxmox.com Git - mirror_frr.git/blobdiff - ripngd/ripng_peer.c
Merge remote-tracking branch 'origin/master' into evpn_plus_struct_attr
[mirror_frr.git] / ripngd / ripng_peer.c
index 461ee98bb70153df6c5239f708de0df45279e866..51f1a40097c638b9ccd04e698f9fb4ab3ae1cef5 100644 (file)
@@ -193,12 +193,11 @@ 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%s", inet6_ntoa (peer->addr),
-               VTY_NEWLINE, " ",
+      vty_outln (vty, "    %s %s%14s %10d %10d %10d      %s", inet6_ntoa (peer->addr),
+               VTYNL, " ",
               peer->recv_badpackets, peer->recv_badroutes,
               ZEBRA_RIPNG_DISTANCE_DEFAULT,
-              ripng_peer_uptime (peer, timebuf, RIPNG_UPTIME_LEN),
-              VTY_NEWLINE);
+              ripng_peer_uptime(peer, timebuf, RIPNG_UPTIME_LEN));
     }
 }