Forward Firewall: deleted configfile "nat" in ovpnmain.cgi for portfw check. File "nat" no longer exists. Now the portfw rules are in file "config"

This commit is contained in:
Alexander Marx
2013-07-11 07:43:42 +02:00
committed by Michael Tremer
parent 6584a984a0
commit 1ca546126e

View 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){