- fix typo
This commit is contained in:
parent
13bdee3ae5
commit
0de46d0ec7
@ -29,7 +29,7 @@ printf '%s.%s.%s.%s/%s' \
|
|||||||
if [ "$len" -lt 31 ] ;then
|
if [ "$len" -lt 31 ] ;then
|
||||||
printf ' %s.%s.%s.%s %s.%s.%s.%s\n' \
|
printf ' %s.%s.%s.%s %s.%s.%s.%s\n' \
|
||||||
"$n1" "$n2" "$n3" "$(( $n4 | 1 ))" \
|
"$n1" "$n2" "$n3" "$(( $n4 | 1 ))" \
|
||||||
"$b1" "$b2" "$b2" "$(( $b4 & 0xfe ))"
|
"$b1" "$b2" "$b3" "$(( $b4 & 0xfe ))"
|
||||||
elif [ "$len" -eq 31 ] ;then
|
elif [ "$len" -eq 31 ] ;then
|
||||||
printf ' %s.%s.%s.%s %s.%s.%s.%s\n' \
|
printf ' %s.%s.%s.%s %s.%s.%s.%s\n' \
|
||||||
"$n1" "$n2" "$n3" "$n4" \
|
"$n1" "$n2" "$n3" "$n4" \
|
||||||
|
Loading…
Reference in New Issue
Block a user