bgpd: Fix confederation identifier unsigned display

The confederation identifier is a `as_t` type which is a
uint32_t underneath the covers.  Display it using a %u

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
Donald Sharp 2018-12-16 09:43:40 -05:00
parent 4870191362
commit 3c195d60db

View File

@ -7557,7 +7557,7 @@ int bgp_config_write(struct vty *vty)
/* Confederation identifier*/
if (CHECK_FLAG(bgp->config, BGP_CONFIG_CONFEDERATION))
vty_out(vty, " bgp confederation identifier %i\n",
vty_out(vty, " bgp confederation identifier %u\n",
bgp->confed_id);
/* Confederation peer */