mirror of
https://github.com/znc/znc.git
synced 2026-08-01 22:43:05 +02:00
makeconf: limit the upper bound for allowed port to 65534
Safari/WebKit: "Not allowed to use restricted network port"
This commit is contained in:
+1
-1
@@ -590,7 +590,7 @@ bool CZNC::WriteNewConfig(const CString& sConfigFile) {
|
||||
do {
|
||||
bSuccess = true;
|
||||
while (true) {
|
||||
if (!CUtils::GetNumInput("Listen on port", uListenPort, 1025, 65535)) {
|
||||
if (!CUtils::GetNumInput("Listen on port", uListenPort, 1025, 65534)) {
|
||||
continue;
|
||||
}
|
||||
if (uListenPort == 6667) {
|
||||
|
||||
Reference in New Issue
Block a user