fix: turn off ip4 when ip6 selected
This commit is contained in:
parent
5a477d6c86
commit
1ede37961f
@ -137,6 +137,7 @@ while [ $# -gt 0 ]; do
|
|||||||
-6 | --ip6 | --ipv6)
|
-6 | --ip6 | --ipv6)
|
||||||
# operate in IP6 mode
|
# operate in IP6 mode
|
||||||
ip6=1
|
ip6=1
|
||||||
|
ip4=0
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
printf "\n%sUnknown option: %s\n" "$err" "$1"
|
printf "\n%sUnknown option: %s\n" "$err" "$1"
|
||||||
|
Loading…
Reference in New Issue
Block a user