mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 11:25:41 +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;
|
conf = group->conf;
|
||||||
|
|
||||||
if (conf->as_type == AS_SPECIFIED || conf->as_type == AS_EXTERNAL) {
|
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",
|
||||||
conf->as);
|
group->name, conf->as);
|
||||||
} else if (conf->as_type == AS_INTERNAL) {
|
} 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->bgp->as);
|
group->name, group->bgp->as);
|
||||||
} else {
|
} else {
|
||||||
vty_out(vty, "\nBGP peer-group %s\n", group->name);
|
vty_out(vty, "\nBGP peer-group %s\n", group->name);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user