From 6d648fc82c5c7294a4df15e0940b649b35678d7a Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 7 Feb 2017 05:57:00 +0200 Subject: [PATCH] test --- iguana/dpow/dpow_network.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/iguana/dpow/dpow_network.c b/iguana/dpow/dpow_network.c index 3beb8d45a..60f0ef234 100755 --- a/iguana/dpow/dpow_network.c +++ b/iguana/dpow/dpow_network.c @@ -1727,7 +1727,9 @@ void dpow_ipbitsadd(struct supernet_info *myinfo,struct dpow_info *dp,uint32_t * int32_t i,j,matched,missing,n; char ipaddr[64]; if ( numipbits >= 64 ) { - printf("dpow_ipbitsadd reject from.%d numipbits.%d\n",fromid,numipbits); + static int32_t counter; + if ( counter++ < 100 ) + printf("dpow_ipbitsadd reject from.%d numipbits.%d\n",fromid,numipbits); return; } n = dp->numipbits;