diff --git a/init.d/openwrt/zapret b/init.d/openwrt/zapret index 1743e33..2a70191 100755 --- a/init.d/openwrt/zapret +++ b/init.d/openwrt/zapret @@ -128,7 +128,7 @@ standard_mode_daemons() run_tpws_socks 2 "$opt" } [ "$NFQWS_ENABLE" = 1 ] && check_bad_ws_options 1 "$NFQWS_OPT" && { - opt="--qnum=$QNUM $NFQWS_OPT" + opt="--qnum=$QNUM $NFQWS_OPT_BASE $NFQWS_OPT" filter_apply_hostlist_target opt run_daemon 3 "$NFQWS" "$opt" } diff --git a/init.d/sysv/functions b/init.d/sysv/functions index 5cc91fd..d4dea2e 100644 --- a/init.d/sysv/functions +++ b/init.d/sysv/functions @@ -296,7 +296,7 @@ standard_mode_daemons() do_tpws_socks $1 2 "$opt" } [ "$NFQWS_ENABLE" = 1 ] && check_bad_ws_options $1 "$NFQWS_OPT" && { - opt="--qnum=$QNUM $NFQWS_OPT_BASE $NFQWS_OPT" + opt="--qnum=$QNUM $NFQWS_OPT" filter_apply_hostlist_target opt do_nfqws $1 3 "$opt" }