mirror of
https://github.com/netchx/netch.git
synced 2026-04-13 20:53:22 +08:00
Fix #528 socks5 only mode start failed
This commit is contained in:
@@ -149,7 +149,7 @@ namespace Netch.Controllers
|
||||
ModeController = ModeHelper.GetModeControllerByType(mode.Type, out var port, out var portName, out var portType);
|
||||
|
||||
if (ModeController == null)
|
||||
throw new MessageException("未知模式类型");
|
||||
return;
|
||||
|
||||
if (port != null)
|
||||
PortCheck((ushort) port, portName, portType);
|
||||
|
||||
Reference in New Issue
Block a user