]> git.puffer.fish Git - matthieu/frr.git/commitdiff
2003-08-27 Kunihiro Ishiguro <kunihiro@zebra.org>
authorpaul <paul>
Wed, 27 Aug 2003 12:25:49 +0000 (12:25 +0000)
committerpaul <paul>
Wed, 27 Aug 2003 12:25:49 +0000 (12:25 +0000)
* bgpd/bgp_route.c: Unrevert the revert of the possible first fix
  for maximum-prefix.

bgpd/bgp_route.c

index 3b4dd3b3ffc8ecb3694b2b6c1c46a49f3ac38dff..736b6be5fc6d1e7c77ee71413bf0c86554d50265 100644 (file)
@@ -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]);