]> git.ipfire.org Git - people/ms/ipfire-2.x.git/commitdiff
Forward Firewall: deleted configfile "nat" in ovpnmain.cgi for portfw check. File...
authorAlexander Marx <amarx@ipfire.org>
Thu, 11 Jul 2013 05:43:42 +0000 (07:43 +0200)
committerAlexander Marx <amarx@ipfire.org>
Thu, 8 Aug 2013 05:52:03 +0000 (07:52 +0200)
html/cgi-bin/ovpnmain.cgi

index 1e17dc9a5fa2c4d2036dceed783be1d2fd220b1c..15da7abbbb47f02ad788bde92fd64b4d2178256f 100644 (file)
@@ -185,7 +185,7 @@ sub checkportfw {
        my $DPORT = shift;
        my $DPROT = shift;
        my %natconfig =();
-       my $confignat = "${General::swroot}/forward/nat";
+       my $confignat = "${General::swroot}/forward/config";
        $DPROT= uc ($DPROT);
        &General::readhasharray($confignat, \%natconfig);
        foreach my $key (sort keys %natconfig){