🎨 Sync 2026-09-15 11:19:33

This commit is contained in:
github-actions[bot] committed 2026-09-15 11:19:33 +08:00
1 parent 4a5cae8f8f
commit cca204b9e2
106 files changed
+17125 -19121

No files matched your search

@@ -15,9 +15,10 @@ const routing_mode = uci.get(cfgname, 'config', 'routing_mode') || 'bypass_mainl
let outbound_node, tun_name;
if (match(proxy_mode, /tun/)) {
outbound_node = uci.get(cfgname, 'config', 'main_node') || 'nil';
if (outbound_node === 'nil')
if (routing_mode === 'custom')
outbound_node = uci.get(cfgname, 'routing', 'default_outbound') || 'nil';
else
outbound_node = uci.get(cfgname, 'config', 'main_node') || 'nil';
if (outbound_node !== 'nil')
tun_name = uci.get(cfgname, 'infra', 'tun_name') || 'singtun0';