Browse Source

limit failed mapping attempts to 13

z3APA3A 5 years ago
parent
commit
9f6a8460ac
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/sockmap.c

+ 1 - 0
src/sockmap.c

@@ -157,6 +157,7 @@ log(logbuf);
 #endif
 #endif
 
 
 	if(needaction > 2 && !sleeptime){
 	if(needaction > 2 && !sleeptime){
+		if(needaction > 13){RETURN (93);}
 		sleeptime = (1<<(needaction-2));
 		sleeptime = (1<<(needaction-2));
 	}
 	}
 	if(sleeptime > 0) {
 	if(sleeptime > 0) {