]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - html/cgi-bin/proxy.cgi
modified proxy.cgi to make it possible that all subnets declared in "network access...
[people/pmueller/ipfire-2.x.git] / html / cgi-bin / proxy.cgi
index fdf9bddaf1cfadd72fe8a0e70aec1593f75c759c..a63e1c2dfba67b463763bf091705f277698dbe67 100644 (file)
@@ -3004,7 +3004,8 @@ END
                                        )
                                {
                                        chomp $temp[1];
-                                       print FILE " ||\n     (isInNet(myIpAddress(), \"$temp[0]\", \"$temp[1]\"))";
+                                       my $tempmask = &Network::convert_prefix2netmask($temp[1]);
+                                       print FILE " ||\n     (isInNet(myIpAddress(), \"$temp[0]\", \"$tempmask\"))";
                                }
                        }