Skip to content

Commit

Permalink
chore(generator/client): reorder mixed_port
Browse files Browse the repository at this point in the history
Signed-off-by: Tianling Shen <cnsztl@gmail.com>
  • Loading branch information
1715173329 committed Nov 30, 2023
1 parent bf70ce6 commit 1066f7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion root/etc/homeproxy/scripts/generate_client.uc
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 1066f7f

Please sign in to comment.