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()