修正小错误
This commit is contained in:
parent
f3eb37d700
commit
e5a225503e
@ -951,9 +951,12 @@ start_rules() {
|
|||||||
if [ -n "$custom_ports" ]; then
|
if [ -n "$custom_ports" ]; then
|
||||||
local proxyport="-m multiport --dports $custom_ports"
|
local proxyport="-m multiport --dports $custom_ports"
|
||||||
fi
|
fi
|
||||||
|
else
|
||||||
if [ "$(uci_get_by_type global dports 1)" == "2" ]; then
|
if [ "$(uci_get_by_type global dports 1)" == "2" ]; then
|
||||||
local proxyport="-m multiport --dports 22,53,587,465,995,993,143,80,443,853,9418"
|
local proxyport="-m multiport --dports 22,53,587,465,995,993,143,80,443,853,9418"
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
get_arg_out() {
|
get_arg_out() {
|
||||||
case "$(uci_get_by_type access_control router_proxy 1)" in
|
case "$(uci_get_by_type access_control router_proxy 1)" in
|
||||||
1) echo "-o" ;;
|
1) echo "-o" ;;
|
||||||
|
Loading…
Reference in New Issue
Block a user