fix: turn off ip4 when ip6 selected

This commit is contained in:
Asif Bacchus 2021-05-07 14:00:32 -06:00
parent 5a477d6c86
commit 1ede37961f

View File

@ -137,6 +137,7 @@ while [ $# -gt 0 ]; do
-6 | --ip6 | --ipv6)
# operate in IP6 mode
ip6=1
ip4=0
;;
*)
printf "\n%sUnknown option: %s\n" "$err" "$1"