2003-08-27 Kunihiro Ishiguro <kunihiro@zebra.org>
* 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 3b4dd3b..736b6be 100644
--- a/bgpd/bgp_route.c
+++ b/bgpd/bgp_route.c
@@ -869,8 +869,7 @@
{
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]);