Correct is_ipv6
This commit is contained in:
parent
5f0de36216
commit
c31288f318
2
minifirewall
Executable file → Normal file
2
minifirewall
Executable file → Normal file
|
@ -110,7 +110,7 @@ is_proxy_enabled() {
|
||||||
test "${PROXY}" = "on"
|
test "${PROXY}" = "on"
|
||||||
}
|
}
|
||||||
is_ipv6() {
|
is_ipv6() {
|
||||||
grep -q ':' "$1"
|
echo "$1" | grep -q ':'
|
||||||
}
|
}
|
||||||
chain_exists() {
|
chain_exists() {
|
||||||
chain_name="$1"
|
chain_name="$1"
|
||||||
|
|
Loading…
Reference in a new issue