diff options
Diffstat (limited to 'net.Linux/ifconfig.sh')
-rw-r--r-- | net.Linux/ifconfig.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net.Linux/ifconfig.sh b/net.Linux/ifconfig.sh index 4051ef57..c515d4d0 100644 --- a/net.Linux/ifconfig.sh +++ b/net.Linux/ifconfig.sh @@ -106,7 +106,7 @@ _cidr2netmask() { while [ ${i} -lt ${frac} ] ; do sum=$((${sum} + ${cur})) cur=$((${cur} / 2)) - i=$((i + 1)) + i=$((${i} + 1)) done netmask="${netmask}.${sum}" done=$((${done} + 1)) |