Add a second local listening port

https://github.com/2dust/v2rayN/issues/6321
This commit is contained in:
2dust
2024-12-22 20:03:20 +08:00
parent 6a9b62ab9a
commit 472963fe2d
20 changed files with 293 additions and 215 deletions

View File

@@ -459,7 +459,7 @@ namespace ServiceLib.ViewModels
if (_config.Inbound.First().NewPort4LAN)
{
StringBuilder sb2 = new();
sb2.Append($"[{EInboundProtocol.mixed}:{AppHandler.Instance.GetLocalPort(EInboundProtocol.socks2)}]");
sb2.Append($"[{EInboundProtocol.mixed}:{AppHandler.Instance.GetLocalPort(EInboundProtocol.socks3)}]");
InboundLanDisplay = $"{ResUI.LabLAN}:{sb2}";
}
else