]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blobdiff - config/forwardfw/rules.pl
Forward Firewall: added OVPNBLOCK and fixed rules.pl to correctly get ip address...
[people/teissler/ipfire-2.x.git] / config / forwardfw / rules.pl
index 12397037e9f34099c89444b18220e290ceb62c7e..f9e7922b25ec3aeace4b44a36d8941c666319ddf 100755 (executable)
@@ -224,7 +224,7 @@ sub buildrules
                                if($$hash{$key}[6] eq 'ORANGE'){
                                        $targethash{$key}[0]=$defaultNetworks{'ORANGE_ADDRESS'};
                                }
-                               if($$hash{$key}[6] eq 'RED'){
+                               if($$hash{$key}[6] eq 'RED' || $$hash{$key}[6] eq 'RED1'){
                                        open(FILE, "/var/ipfire/red/local-ipaddress") or die 'Unable to open config file.';
                                        $targethash{$key}[0]= <FILE>;
                                        close(FILE);