From 3b61f61005f6ba6ec1f9f32b6888bdaa0baa2ff6 Mon Sep 17 00:00:00 2001 From: Quentin Young Date: Mon, 4 Feb 2019 16:50:30 +0000 Subject: bgpd: use correct specifier to print asn Signed-off-by: Quentin Young --- bgpd/bgp_vty.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'bgpd/bgp_vty.c') diff --git a/bgpd/bgp_vty.c b/bgpd/bgp_vty.c index 43adf3424..a6d985ab9 100644 --- a/bgpd/bgp_vty.c +++ b/bgpd/bgp_vty.c @@ -11650,11 +11650,11 @@ static int bgp_show_one_peer_group(struct vty *vty, struct peer_group *group) conf = group->conf; if (conf->as_type == AS_SPECIFIED || conf->as_type == AS_EXTERNAL) { - vty_out(vty, "\nBGP peer-group %s, remote AS %d\n", group->name, - conf->as); + vty_out(vty, "\nBGP peer-group %s, remote AS %" PRIu32 "\n", + group->name, conf->as); } else if (conf->as_type == AS_INTERNAL) { - vty_out(vty, "\nBGP peer-group %s, remote AS %d\n", group->name, - group->bgp->as); + vty_out(vty, "\nBGP peer-group %s, remote AS %" PRIu32 "\n", + group->name, group->bgp->as); } else { vty_out(vty, "\nBGP peer-group %s\n", group->name); } -- cgit v1.2.3