Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions bgpd/bgp_vty.c
Original file line number Diff line number Diff line change
Expand Up @@ -9001,7 +9001,7 @@ static void bgp_show_peer(struct vty *vty, struct peer *p, uint8_t use_json,
} else {
if ((p->as_type == AS_SPECIFIED) || (p->as_type == AS_EXTERNAL)
|| (p->as_type == AS_INTERNAL))
vty_out(vty, "remote AS %u, ", p->as);
vty_out(vty, "remote AS %" PRIu32 ", ", p->as);
else
vty_out(vty, "remote AS Unspecified, ");
vty_out(vty, "local AS %u%s%s, ",
Expand Down Expand Up @@ -11405,10 +11405,10 @@ 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,
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,
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);
Expand Down