mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 23:53:28 +00:00
BGP: Fix maximum-prefix output in running-config
Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com> Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com> Reviewed-by: Daniel Walton <dwalton@cumulusnetworks.com> Ticket: CM-8480 Reviewed By: CM-3953 Testing Done: Manual verification (on PPC)
This commit is contained in:
parent
4b150ae78a
commit
85e11c23ab
@ -6626,7 +6626,7 @@ bgp_config_write_peer_af (struct vty *vty, struct bgp *bgp,
|
||||
!= CHECK_FLAG (peer->af_flags[afi][safi], PEER_FLAG_MAX_PREFIX_WARNING))
|
||||
{
|
||||
afi_header_vty_out (vty, afi, safi, write,
|
||||
" neighbor %s maximum-prefix %ld",
|
||||
" neighbor %s maximum-prefix %lu",
|
||||
addr, peer->pmax[afi][safi]);
|
||||
if (peer->pmax_threshold[afi][safi] != MAXIMUM_PREFIX_THRESHOLD_DEFAULT)
|
||||
vty_out (vty, " %d", peer->pmax_threshold[afi][safi]);
|
||||
|
Loading…
Reference in New Issue
Block a user