add port check for 8123
This commit is contained in:
@@ -118,6 +118,10 @@ namespace Shadowsocks.Model
|
||||
{
|
||||
throw new ArgumentException(I18N.GetString("Port out of range"));
|
||||
}
|
||||
if (port == 8123)
|
||||
{
|
||||
throw new ArgumentException(I18N.GetString("Port can't be 8123"));
|
||||
}
|
||||
}
|
||||
|
||||
private static void CheckPassword(string password)
|
||||
|
||||
Reference in New Issue
Block a user