X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=blobdiff_plain;f=html%2Fcgi-bin%2Fportfw.cgi;h=fcd77e5483093935000b067a53bfca0a6366139c;hp=65647ab4c1760340615ba389ebb69dd3081ece3e;hb=78331e301975a38f952ad9311a7ff3201e5a5e2e;hpb=548f60a5bf6c5b8b6bf15471456cce8ce713a2b1 diff --git a/html/cgi-bin/portfw.cgi b/html/cgi-bin/portfw.cgi index 65647ab4c1..fcd77e5483 100644 --- a/html/cgi-bin/portfw.cgi +++ b/html/cgi-bin/portfw.cgi @@ -1122,10 +1122,10 @@ sub valaddupdate $prtrange2 = 1; } if ($cgiparams{'SRC_IP'} eq '0.0.0.0') { # Dave Roberts - only check if using DEFAULT IP - if ($prtrange2 == 1){ # check for destination ports reserved for IPCop + if ($prtrange2 == 1){ # check for destination ports reserved for IPFire &disallowreserved($cgiparams{'DEST_PORT'},1,$cgiparams{'PROTOCOL'},"dst"); if ($errormessage) { goto EXITSUB; } - } else { # check for destination port reserved for IPCop + } else { # check for destination port reserved for IPFire &disallowreserved($cgiparams{'DEST_PORT'},0,$cgiparams{'PROTOCOL'},"dst"); if ($errormessage) { goto EXITSUB; } }