makeconf: limit the upper bound for allowed port to 65534

Safari/WebKit: "Not allowed to use restricted network port"
This commit is contained in:
J-P Nurmi
2014-09-08 23:58:18 +02:00
parent fec4d20ace
commit e45aa48a91
+1 -1
View File
@@ -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) {