Browse Source

init.d: fix apply of NFQWS_OPT_BASE

pull/696/head
bol-van 5 months ago
parent
commit
c964677913
  1. 2
      init.d/openwrt/zapret
  2. 2
      init.d/sysv/functions

2
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"
}

2
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"
}

Loading…
Cancel
Save