subnet -le fix
This commit is contained in:
		| @@ -123,7 +123,7 @@ check_subnets(){ | |||||||
| 	if [ "$RES" != "" ]; then | 	if [ "$RES" != "" ]; then | ||||||
| 		for R in $RES ; do | 		for R in $RES ; do | ||||||
| 			NUMBER=$(echo $R | cut -d '.' -f3); | 			NUMBER=$(echo $R | cut -d '.' -f3); | ||||||
| 			if [[ $NUMBER -ge 0 && $NUMBER < 255 ]]; then | 			if [[ $NUMBER -ge 0 && $NUMBER -le 254 ]]; then | ||||||
| 				RET=0 | 				RET=0 | ||||||
| 			fi; | 			fi; | ||||||
| 		done; | 		done; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user