diff --git a/html/cgi-bin/fwhosts.cgi b/html/cgi-bin/fwhosts.cgi index 90a55948b..3b80c0b66 100755 --- a/html/cgi-bin/fwhosts.cgi +++ b/html/cgi-bin/fwhosts.cgi @@ -100,6 +100,43 @@ print< END @@ -1306,7 +1343,7 @@ sub addservice print< $Lang::tr{'fwhost srv_name'}: - $Lang::tr{'fwhost prot'}: + $Lang::tr{'fwhost prot'}: END foreach ("TCP","UDP","ICMP") { @@ -1318,8 +1355,8 @@ END } } print< - $Lang::tr{'fwhost icmptype'} + + $Lang::tr{'fwhost icmptype'} END &General::readhasharray("${General::swroot}/fwhosts/icmp-types", \%icmptypes); print"All ICMP-Types"; @@ -1331,9 +1368,9 @@ END } } print< - $Lang::tr{'fwhost port'}: - + + $Lang::tr{'fwhost port'}: + END if ($fwhostsettings{'updatesrv'} eq 'on') @@ -1357,6 +1394,9 @@ END END + if ($fwhostsettings{'PROT'} ne 'ICMP'){ + print""; + } &Header::closebox(); &viewtableservice; }