summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpaul <paul>2003-08-26 04:11:35 +0000
committerpaul <paul>2003-08-26 04:11:35 +0000
commitc2f3a4cc771da731f5aedc455e6f6a543acd6e38 (patch)
tree9988691c695127592da7789298bd9157600cec81
parentd02d5a6b7bc25abc8cf16e4959f89e84116b7ea5 (diff)
2003-08-26 Kunihiro <kunihiro@zebra.org>
* bgpd/bgp_route.c: fix maximum prefix comparison
-rw-r--r--bgpd/bgp_route.c2
1 files changed, 1 insertions, 1 deletions
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",