summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpaul <paul>2003-08-27 12:25:49 +0000
committerpaul <paul>2003-08-27 12:25:49 +0000
commit9b971caa33b12ed5a81cc1deb276c42d6b868baf (patch)
tree4797a47ec50d31c601a01329dfbbda329a89c399
parentf4b62abd0d45c12f6d4bb8c05444f52eac54c14b (diff)
downloadquagga-9b971caa33b12ed5a81cc1deb276c42d6b868baf.tar.bz2
quagga-9b971caa33b12ed5a81cc1deb276c42d6b868baf.tar.xz
2003-08-27 Kunihiro Ishiguro <kunihiro@zebra.org>
* bgpd/bgp_route.c: Unrevert the revert of the possible first fix for maximum-prefix.
-rw-r--r--bgpd/bgp_route.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c
index 3b4dd3b3..736b6be5 100644
--- a/bgpd/bgp_route.c
+++ b/bgpd/bgp_route.c
@@ -869,8 +869,7 @@ 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))
{
- /* Once we should revert this for future work. */
- if (peer->pcount[afi][safi] >= peer->pmax[afi][safi])
+ if (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", peer->host, afi, peer->pcount[afi][safi], peer->pmax[afi][safi]);