From 0cdbf089cd3cb975d33fe287a6163ae457d7a5c2 Mon Sep 17 00:00:00 2001 From: bol-van Date: Sat, 10 Jan 2026 18:54:56 +0300 Subject: [PATCH] AI inspired fixes --- common/installer.sh | 5 ----- common/ipt.sh | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/common/installer.sh b/common/installer.sh index 68d2eaa4..36aed86e 100644 --- a/common/installer.sh +++ b/common/installer.sh @@ -522,11 +522,6 @@ install_openwrt_firewall() { echo \* installing firewall script $1 - [ -n "MODE" ] || { - echo should specify MODE in $ZAPRET_CONFIG - exitp 7 - } - echo "linking : $FW_SCRIPT_SRC => $OPENWRT_FW_INCLUDE" ln -fs "$FW_SCRIPT_SRC" "$OPENWRT_FW_INCLUDE" diff --git a/common/ipt.sh b/common/ipt.sh index 3e4be7d4..9c0e80b3 100644 --- a/common/ipt.sh +++ b/common/ipt.sh @@ -43,7 +43,7 @@ ipt6_add_del() } ipt6a_add_del() { - on_off_function ipt6 ipt6a_del "$@" + on_off_function ipt6a ipt6_del "$@" } is_ipt_flow_offload_avail()