Firewall: rename Protocol 41 in Dropdown and ruletable ->Now "IPv6 Encapsulation (protocol 41)" in dropdown and "IPv6 Encap" in ruletable

This commit is contained in:
Alexander Marx
2013-10-24 16:04:26 +02:00
parent 85f129fe3c
commit 9c89c64de1
3 changed files with 12 additions and 2 deletions

View File

@@ -1757,7 +1757,11 @@ END
if ($_ eq $fwdfwsettings{'PROT'}) {
print " selected=\"selected\"";
}
print ">$_</option>";
if($_ eq "IPv6"){
print ">$Lang::tr{'fwdfw prot41'}</option>";
}else{
print ">$_</option>";
}
}
print<<END;
</select>
@@ -2467,7 +2471,11 @@ END
#Get Protocol
my $prot;
if ($$hash{$key}[8]){
push (@protocols,$$hash{$key}[8]);
if ($$hash{$key}[8] eq "IPv6"){
push (@protocols,"IPv6 Encap")
}else{
push (@protocols,$$hash{$key}[8]);
}
}elsif($$hash{$key}[14] eq 'cust_srv'){
&get_serviceports("service",$$hash{$key}[15]);
}elsif($$hash{$key}[14] eq 'cust_srvgrp'){