summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_route.c
diff options
context:
space:
mode:
Diffstat (limited to 'bgpd/bgp_route.c')
-rw-r--r--bgpd/bgp_route.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c
index 5ca43c72..875ff648 100644
--- a/bgpd/bgp_route.c
+++ b/bgpd/bgp_route.c
@@ -6809,7 +6809,7 @@ route_vty_out_detail_header (struct vty *vty, struct bgp *bgp,
if (! first)
vty_out (vty, " Advertised to non peer-group peers:%s ",
VTY_NEWLINE);
- vty_out (vty, " %s", sockunion2str (&peer->su, buf, sizeof(buf)));
+ vty_out (vty, " %s", sutoa(&peer->su).str);
first = 1;
}
}