diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c index 9a1c2dc5bd..b9f23a387e 100644 --- a/bgpd/bgp_route.c +++ b/bgpd/bgp_route.c @@ -7841,7 +7841,7 @@ void route_vty_out_detail(struct vty *vty, struct bgp *bgp, struct prefix *p, "bestpathFromAs", first_as); } else { if (first_as) - vty_out(vty, ", bestpath-from-AS %d", + vty_out(vty, ", bestpath-from-AS %u", first_as); else vty_out(vty,