Correct is_ipv6

This commit is contained in:
Ludovic Poujol 2021-09-14 08:54:52 +02:00
parent 5f0de36216
commit c31288f318

2
minifirewall Executable file → Normal file
View file

@ -110,7 +110,7 @@ is_proxy_enabled() {
test "${PROXY}" = "on"
}
is_ipv6() {
grep -q ':' "$1"
echo "$1" | grep -q ':'
}
chain_exists() {
chain_name="$1"