浏览代码

bug fixed

bug fixed
Deben Oldert 11 年之前
父节点
当前提交
37633a1785
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      captiveportal/firewall/ip-generator.sh

+ 2 - 2
captiveportal/firewall/ip-generator.sh

@@ -1,6 +1,6 @@
 #! bin/bash
 #IP generator
-VERSION="V1.2"
+VERSION="V1.2.4"
 #Generator to find all ip's in a range
 #Copy Right: Deben Oldert
 #Remove existing users file
@@ -14,7 +14,7 @@ read firstip
 echo "Enter your end ip"
 read secondip
 #Split the ip strings into array's
-IFS='.' read -a first <<< "$1firstip"
+IFS='.' read -a first <<< "$firstip"
 IFS='.' read -a second <<< "$secondip"
 #Set i for the counter
 i=0