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)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 9 Aug 2013 12:15:33 +0000 (14:15 +0200)
html/cgi-bin/ovpnmain.cgi

index 05398bb25479b1c88dec510ce83d1180e55bb5c3..899bf3efa2b5bc34b12aadf9c810057d1e0b3c9b 100644 (file)
@@ -170,7 +170,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){