From 1ca546126e98aa23155de0238e929e446ac40d94 Mon Sep 17 00:00:00 2001 From: Alexander Marx Date: Thu, 11 Jul 2013 07:43:42 +0200 Subject: [PATCH] Forward Firewall: deleted configfile "nat" in ovpnmain.cgi for portfw check. File "nat" no longer exists. Now the portfw rules are in file "config" --- html/cgi-bin/ovpnmain.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/cgi-bin/ovpnmain.cgi b/html/cgi-bin/ovpnmain.cgi index 05398bb254..899bf3efa2 100644 --- a/html/cgi-bin/ovpnmain.cgi +++ b/html/cgi-bin/ovpnmain.cgi @@ -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){ -- 2.39.5