This commit is contained in:
DHR60
2026-10-18 11:23:03 +00:00
committed by GitHub
parent 673283da4b
commit 5e0ea3275d
@@ -356,6 +356,8 @@ public partial class CoreConfigSingboxService
{ {
case EConfigType.WireGuard: case EConfigType.WireGuard:
{ {
endpoint.server = null;
endpoint.server_port = null;
endpoint.address = Utils.String2List(protocolExtra.WgInterfaceAddress)?.Select(s => s.Trim()).ToList() ?? ["172.16.0.2/32"]; endpoint.address = Utils.String2List(protocolExtra.WgInterfaceAddress)?.Select(s => s.Trim()).ToList() ?? ["172.16.0.2/32"];
var peer = new Peer4Sbox var peer = new Peer4Sbox
{ {