This commit is contained in:
Snowy-Fluffy
2025-03-31 00:34:48 +03:00
parent 30a7cae6a6
commit f2cff686f6

View File

@@ -171,7 +171,7 @@ get_fwtype() {
Linux)
if [[ $SYSTEM == openwrt ]]; then
if exists iptables; then
iptables_version=$(iptables -V 2>&1)
iptables_version=$(iptables --version 2>&1)
if [[ "$iptables_version" == *"legacy"* ]]; then
FWTYPE="iptables"