Skip to content
This repository has been archived by the owner on Dec 14, 2020. It is now read-only.

Commit

Permalink
httpd: Allow using privileged ports (1-1023)
Browse files Browse the repository at this point in the history
  • Loading branch information
RMerl committed Oct 30, 2015
1 parent d407ec0 commit 557ddef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions release/src/router/www/Advanced_System_Content.asp
Original file line number Diff line number Diff line change
Expand Up @@ -440,14 +440,14 @@ function validForm(){
return false;
}
if (HTTPS_support && (document.form.http_enable[0].selected != true) && !validator.range(document.form.https_lanport, 1024, 65535) && !tmo_support)
if (HTTPS_support && (document.form.http_enable[0].selected != true) && !validator.range(document.form.https_lanport, 1, 65535) && !tmo_support)
return false;
if (document.form.misc_http_x[0].checked) {
if (!validator.range(document.form.misc_httpport_x, 1024, 65535))
if (!validator.range(document.form.misc_httpport_x, 1, 65535))
return false;
if (HTTPS_support && !validator.range(document.form.misc_httpsport_x, 1024, 65535))
if (HTTPS_support && !validator.range(document.form.misc_httpsport_x, 1, 65535))
return false;
}
else{
Expand Down

0 comments on commit 557ddef

Please sign in to comment.