From: paul Date: Wed, 27 Aug 2003 12:25:49 +0000 (+0000) Subject: 2003-08-27 Kunihiro Ishiguro X-Git-Tag: frr-2.0-rc1~3910 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=50d649aaf920c27c8b6ee525d727436a24c14b4d;p=mirror%2Ffrr.git 2003-08-27 Kunihiro Ishiguro * bgpd/bgp_route.c: Unrevert the revert of the possible first fix for maximum-prefix. --- diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c index 3b4dd3b3ff..736b6be5fc 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]);