X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=html%2Fcgi-bin%2Foptionsfw.cgi;h=9563aabc8cfc835d1a1373e99633afe4cb97a749;hb=44ed2a42f02738b7955614461f868eda655eebbd;hp=713f37f9fd7d6df885346fac97e7dddaeeae2018;hpb=6b0d7d6bc3e5870a8f0ada33e2ab3170f942db9e;p=people%2Fteissler%2Fipfire-2.x.git diff --git a/html/cgi-bin/optionsfw.cgi b/html/cgi-bin/optionsfw.cgi index 713f37f9f..9563aabc8 100644 --- a/html/cgi-bin/optionsfw.cgi +++ b/html/cgi-bin/optionsfw.cgi @@ -26,13 +26,13 @@ my %fwdfwsettings=(); my %configfwdfw=(); my %configoutgoingfw=(); -my $configfwdfw = "${General::swroot}/forward/config"; -my $configoutgoing = "${General::swroot}/forward/outgoing"; +my $configfwdfw = "${General::swroot}/firewall/config"; +my $configoutgoing = "${General::swroot}/firewall/outgoing"; my $errormessage = ''; my $warnmessage = ''; my $filename = "${General::swroot}/optionsfw/settings"; -&General::readhash("${General::swroot}/forward/settings", \%fwdfwsettings); +&General::readhash("${General::swroot}/firewall/settings", \%fwdfwsettings); &Header::showhttpheaders(); #Get GUI values @@ -41,7 +41,7 @@ if ($settings{'ACTION'} eq $Lang::tr{'save'}) { if ($settings{'defpol'} ne '1'){ $errormessage .= $Lang::tr{'new optionsfw later'}; &General::writehash($filename, \%settings); # Save good settings - system("/usr/local/bin/forwardfwctrl"); + system("/usr/local/bin/firewallctrl"); }else{ if ($settings{'POLICY'} ne ''){ $fwdfwsettings{'POLICY'} = $settings{'POLICY'}; @@ -54,9 +54,9 @@ if ($settings{'ACTION'} eq $Lang::tr{'save'}) { %fwdfwsettings = (); $fwdfwsettings{'POLICY'} = "$MODE"; $fwdfwsettings{'POLICY1'} = "$MODE1"; - &General::writehash("${General::swroot}/forward/settings", \%fwdfwsettings); - &General::readhash("${General::swroot}/forward/settings", \%fwdfwsettings); - system("/usr/local/bin/forwardfwctrl"); + &General::writehash("${General::swroot}/firewall/settings", \%fwdfwsettings); + &General::readhash("${General::swroot}/firewall/settings", \%fwdfwsettings); + system("/usr/local/bin/firewallctrl"); } &General::readhash($filename, \%settings); # Load good settings }