|
|
@@ -653,7 +653,9 @@ start_rules() {
|
|
|
local lan_ac_ips=$(uci_get_by_type access_control lan_ac_ips)
|
|
|
local lan_ac_mode=$(uci_get_by_type access_control lan_ac_mode)
|
|
|
local router_proxy=$(uci_get_by_type access_control router_proxy)
|
|
|
- if [ -n "$UDP_RELAY_SERVER" ]; then
|
|
|
+ if [ "$GLOBAL_SERVER" == "$UDP_RELAY_SERVER" -a "$kcp_flag" == "0" ]; then
|
|
|
+ ARG_UDP="-u"
|
|
|
+ elif [ -n "$UDP_RELAY_SERVER" ]; then
|
|
|
if [ "$kcp_flag" == "0" ]; then
|
|
|
local type=$(uci_get_by_name $UDP_RELAY_SERVER type)
|
|
|
case "$type" in
|