mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-09-14 04:15:06 +08:00
🎁 Sync 2026-08-05 20:25:34
This commit is contained in:
@@ -652,10 +652,6 @@ uci.foreach(uciconf, ucinode, (cfg) => {
|
||||
return orbits;
|
||||
})[0]
|
||||
}),
|
||||
"ip-stack": cfg.zerotier_ipstack ? {
|
||||
mode: cfg.zerotier_ipstack,
|
||||
"congestion-controller": replace(cfg.congestion_controller, 'new_reno', 'reno')
|
||||
} : null,
|
||||
|
||||
/* WireGuard */
|
||||
"pre-shared-key": cfg.wireguard_pre_shared_key,
|
||||
@@ -680,10 +676,14 @@ uci.foreach(uciconf, ucinode, (cfg) => {
|
||||
"host-key": cfg.ssh_host_key,
|
||||
|
||||
/* Extra fields */
|
||||
"ip-stack": cfg.ipstack ? {
|
||||
mode: cfg.ipstack,
|
||||
"congestion-controller": replace(cfg.congestion_controller, 'new_reno', 'reno')
|
||||
} : null,
|
||||
"udp-over-stream": strToBool(cfg.shadowquic_udp_over_stream || cfg.tuic_udp_over_stream),
|
||||
"heartbeat-interval": strToInt(cfg.tuic_heartbeat) || null,
|
||||
"keep-alive-interval": strToInt(cfg.shadowquic_heartbeat) || null,
|
||||
"congestion-controller": cfg.type in ['zerotier'] ? null : cfg.congestion_controller,
|
||||
"congestion-controller": cfg.type in ['zerotier', 'wireguard', 'masque', 'openvpn'] ? null : cfg.congestion_controller,
|
||||
"bbr-profile": cfg.bbr_profile,
|
||||
"max-open-streams": strToInt(cfg.max_open_streams) || null,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user