mirror of
https://github.com/netchx/netch.git
synced 2026-03-18 18:13:21 +08:00
Fix null reference error using socks5 server
This commit is contained in:
@@ -148,7 +148,7 @@ namespace Netch.Controllers
|
||||
if (result)
|
||||
{
|
||||
// 加密代理成功启动
|
||||
UsingPorts.Add(pEncryptedProxyController.Socks5LocalPort); // 记录Socks5使用端口
|
||||
UsingPorts.Add(pEncryptedProxyController?.Socks5LocalPort ?? server.Port); // 记录Socks5使用端口
|
||||
|
||||
switch (mode.Type)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user