diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c index 44b3c5c34856..d8bae62df1da 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,