]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
Firewall: Bugfix: Fixed wrong language strings in outgoing FW rules when using std...
authorAlexander Marx <amarx@ipfire.org>
Mon, 2 Dec 2013 06:56:01 +0000 (07:56 +0100)
committerAlexander Marx <amarx@ipfire.org>
Thu, 5 Dec 2013 14:16:19 +0000 (15:16 +0100)
html/cgi-bin/firewall.cgi

index fc6633f2b6f87b8e6e37e492e7ec8f1da4ab314d..58b16a56f4c56ca8cd4ca6f2397be35ce2c19f28 100755 (executable)
@@ -2631,15 +2631,12 @@ END
                                }
                                print"<br>-&gt;";
                        }
-                       if ($$hash{$key}[5] eq 'ipfire'){
-                               $ipfireiface='Interface';
-                       }
-                       if ($$hash{$key}[5] eq 'std_net_tgt' || $$hash{$key}[5] eq 'ipfire'  || $$hash{$key}[6] eq 'RED1' || $$hash{$key}[6] eq 'GREEN' || $$hash{$key}[6] eq 'ORANGE' || $$hash{$key}[6] eq 'BLUE' ){
+                       if ($$hash{$key}[5] eq 'std_net_tgt' || $$hash{$key}[5] eq 'ipfire'){
                                if ($$hash{$key}[6] eq 'RED1'){
-                                       print "$ipfireiface $Lang::tr{'red1'}";
+                                       print "$Lang::tr{'red1'}";
                                }elsif ($$hash{$key}[6] eq 'GREEN' || $$hash{$key}[6] eq 'ORANGE' || $$hash{$key}[6] eq 'BLUE'|| $$hash{$key}[6] eq 'ALL' || $$hash{$key}[6] eq 'RED')
                                {
-                                       print "$ipfireiface ".&get_name($$hash{$key}[6]);
+                                       print &get_name($$hash{$key}[6]);
                                }else{
                                        print $$hash{$key}[6];
                                }