]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - html/cgi-bin/portfw.cgi
HinzugefĆ¼gt:
[ipfire-2.x.git] / html / cgi-bin / portfw.cgi
index 65647ab4c1760340615ba389ebb69dd3081ece3e..91ccbf5d32e2bd18706179c1ebd00b9e7dde0ead 100644 (file)
@@ -30,7 +30,7 @@ use strict;
 #use warnings;
 #use CGI::Carp 'fatalsToBrowser';
 
-require 'CONFIG_ROOT/general-functions.pl';
+require '/var/ipfire/general-functions.pl';
 require "${General::swroot}/lang.pl";
 require "${General::swroot}/header.pl";
 
@@ -714,9 +714,7 @@ if ($cgiparams{'ACTION'} eq $Lang::tr{'edit'}){
        }
 }
 print <<END
-       <td width='5%' align='right'>
-               <a href='${General::adminmanualurl}/section-firewall.html#section-port-forwarding' target='_blank'>
-               <img src='/images/web-support.png' alt='$Lang::tr{'online help en'}' title='$Lang::tr{'online help en'}' /></a></td>
+       <td width='5%' align='right'>&nbsp;</td>
        </tr>
 </table>
 END
@@ -1122,10 +1120,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; }
                }