From c2f3a4cc771da731f5aedc455e6f6a543acd6e38 Mon Sep 17 00:00:00 2001 From: paul Date: Tue, 26 Aug 2003 04:11:35 +0000 Subject: 2003-08-26 Kunihiro * bgpd/bgp_route.c: fix maximum prefix comparison --- bgpd/bgp_route.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bgpd/bgp_route.c') diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c index bb6b1b18..8152f72e 100644 --- a/bgpd/bgp_route.c +++ b/bgpd/bgp_route.c @@ -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", -- cgit v1.2.1