mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 16:04:49 +00:00
2003-08-26 Kunihiro <kunihiro@zebra.org>
* bgpd/bgp_route.c: fix maximum prefix comparison
This commit is contained in:
parent
d02d5a6b7b
commit
c2f3a4cc77
@ -868,7 +868,7 @@ int
|
||||
bgp_maximum_prefix_overflow (struct peer *peer, afi_t afi, safi_t safi)
|
||||
{
|
||||
if (CHECK_FLAG (peer->af_flags[afi][safi], PEER_FLAG_MAX_PREFIX)
|
||||
&& peer->pcount[afi][safi] >= peer->pmax[afi][safi])
|
||||
&& peer->pcount[afi][safi] > peer->pmax[afi][safi])
|
||||
{
|
||||
zlog (peer->log, LOG_INFO,
|
||||
"MAXPFXEXCEED: No. of prefix received from %s (afi %d): %ld exceed limit %ld",
|
||||
|
Loading…
Reference in New Issue
Block a user