From fc83b09d437a0137b2c2db6ec07b4bdb8f98b051 Mon Sep 17 00:00:00 2001 From: Alexander Marx Date: Wed, 3 Jul 2013 09:26:39 +0200 Subject: [PATCH] Forward Firewall: some bugfixes --- html/cgi-bin/forwardfw.cgi | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/html/cgi-bin/forwardfw.cgi b/html/cgi-bin/forwardfw.cgi index 58eed95b4..23ab4161c 100755 --- a/html/cgi-bin/forwardfw.cgi +++ b/html/cgi-bin/forwardfw.cgi @@ -47,7 +47,6 @@ unless (-e "${General::swroot}/forward/settings") { system("touch ${General::s unless (-e "${General::swroot}/forward/config") { system("touch ${General::swroot}/forward/config"); } unless (-e "${General::swroot}/forward/input") { system("touch ${General::swroot}/forward/input"); } unless (-e "${General::swroot}/forward/outgoing") { system("touch ${General::swroot}/forward/outgoing"); } -unless (-e "${General::swroot}/forward/nat") { system("touch ${General::swroot}/forward/nat"); } my %fwdfwsettings=(); my %selected=() ; @@ -75,7 +74,7 @@ my %aliases=(); my %optionsfw=(); my %ifaces=(); -my $VERSION='0.9.9.9a'; +my $VERSION='0.9.9.9'; my $color; my $confignet = "${General::swroot}/fwhosts/customnetworks"; my $confighost = "${General::swroot}/fwhosts/customhosts"; @@ -262,7 +261,6 @@ if ($fwdfwsettings{'ACTION'} eq 'saverule') } if ($fwdfwsettings{'oldruleremark'} eq $fwdfwsettings{'ruleremark'}){ $fwdfwsettings{'nosave'} = 'on'; - print "uzlputz neu time:$fwdfwsettings{'TIME'} alt:$configfwdfw{$key}[18]"; } } } @@ -1592,8 +1590,7 @@ END print "" if $ifaces{'GREEN_ADDRESS'}; print "" if $ifaces{'ORANGE_ADDRESS'}; print "" if $ifaces{'BLUE_ADDRESS'}; - print "" if $ifaces{'RED_ADDRESS'}; - + print "