exclude 6 if not enabled
This commit is contained in:
parent
97b1ef5bd0
commit
40872ebb9e
|
@ -1001,7 +1001,6 @@ iptb()
|
||||||
return $?
|
return $?
|
||||||
}
|
}
|
||||||
|
|
||||||
IP_VERs=("4" "6")
|
|
||||||
|
|
||||||
start_nat() {
|
start_nat() {
|
||||||
local SUBNET_NET
|
local SUBNET_NET
|
||||||
|
@ -2192,6 +2191,12 @@ echo "NOTICE: Not showing all operations done to iptables rules"
|
||||||
|
|
||||||
[[ "$NO4" -eq 1 ]] && echo -e "\nWARN: Since you're using in this mode (no IPv4 Internet), make sure you've read Notice 1\n" >&2
|
[[ "$NO4" -eq 1 ]] && echo -e "\nWARN: Since you're using in this mode (no IPv4 Internet), make sure you've read Notice 1\n" >&2
|
||||||
|
|
||||||
|
if [[ "$IPV6" -eq 0 ]]; then
|
||||||
|
IP_VERs=("4")
|
||||||
|
else
|
||||||
|
IP_VERs=("4" "6")
|
||||||
|
fi
|
||||||
|
|
||||||
# enable Internet sharing
|
# enable Internet sharing
|
||||||
if [[ "$SHARE_METHOD" == "none" ]]; then
|
if [[ "$SHARE_METHOD" == "none" ]]; then
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue