From 1066f7f7ac0d143b9695a6b180263b9f461d522f Mon Sep 17 00:00:00 2001 From: Tianling Shen Date: Thu, 30 Nov 2023 16:35:28 +0800 Subject: [PATCH] chore(generator/client): reorder mixed_port Signed-off-by: Tianling Shen --- root/etc/homeproxy/scripts/generate_client.uc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/etc/homeproxy/scripts/generate_client.uc b/root/etc/homeproxy/scripts/generate_client.uc index 5affda92..ea6c0d47 100755 --- a/root/etc/homeproxy/scripts/generate_client.uc +++ b/root/etc/homeproxy/scripts/generate_client.uc @@ -44,7 +44,6 @@ if (wan_dns.exitcode === 0 && trim(wan_dns.stdout)) else wan_dns = (routing_mode in ['proxy_mainland_china', 'global']) ? '208.67.222.222' : '114.114.114.114'; -const mixed_port = uci.get(uciconfig, uciinfra, 'mixed_port') || '5330'; const dns_port = uci.get(uciconfig, uciinfra, 'dns_port') || '5333'; let main_node, main_udp_node, dedicated_udp_node, default_outbound, sniff_override = '1', @@ -79,6 +78,7 @@ const proxy_mode = uci.get(uciconfig, ucimain, 'proxy_mode') || 'redirect_tproxy ipv6_support = uci.get(uciconfig, ucimain, 'ipv6_support') || '0', default_interface = uci.get(uciconfig, ucicontrol, 'bind_interface'); +const mixed_port = uci.get(uciconfig, uciinfra, 'mixed_port') || '5330'; let self_mark, redirect_port, tproxy_port, tun_name, tun_addr4, tun_addr6, tun_mtu, tcpip_stack, endpoint_independent_nat;