mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-03 22:37:49 +00:00
bgpd: use correct specifier to print asn
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
This commit is contained in:
parent
41e8603bfa
commit
3b61f61005
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user