Firewall: When using DNAT AUTO, don't display the IP anymore in brackets

This commit is contained in:
Alexander Marx
2014-04-28 14:55:22 +02:00
committed by Michael Tremer
parent a43c9b6a64
commit 107060da53

View File

@@ -2562,11 +2562,11 @@ END
push (@nat_ifaces,&fwlib::get_nat_address($$hash{$key}[29],$val));
}
@nat_ifaces=&del_double(@nat_ifaces);
$natstring = join(', ', @nat_ifaces);
$natstring = "";
}else{
$natstring = $$hash{$key}[29];
$natstring = "($$hash{$key}[29])";
}
print "$Lang::tr{'firewall'} ($natstring)";
print "$Lang::tr{'firewall'} $natstring";
if($$hash{$key}[30] ne ''){
$$hash{$key}[30]=~ tr/|/,/;
print": $$hash{$key}[30]";