From: Alexander Marx Date: Fri, 12 Jul 2013 11:30:14 +0000 (+0200) Subject: Forward Firewall: show default rule when input is empty X-Git-Tag: v2.15-beta1~290^2~11^2~11 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4affc3e88997fd395f7b9be00b2cc51539d19122;p=people%2Fms%2Fipfire-2.x.git Forward Firewall: show default rule when input is empty --- diff --git a/html/cgi-bin/forwardfw.cgi b/html/cgi-bin/forwardfw.cgi index 3b0527292a..ccc05d750d 100755 --- a/html/cgi-bin/forwardfw.cgi +++ b/html/cgi-bin/forwardfw.cgi @@ -64,7 +64,7 @@ my %aliases=(); my %optionsfw=(); my %ifaces=(); -my $VERSION='0.9.9.11'; +my $VERSION='0.9.9.12'; my $color; my $confignet = "${General::swroot}/fwhosts/customnetworks"; my $confighost = "${General::swroot}/fwhosts/customhosts"; @@ -2373,6 +2373,7 @@ END print""; } print""; + #SHOW FINAL RULE print ""; my $col; if ($config eq '/var/ipfire/forward/config'){ @@ -2423,7 +2424,8 @@ END print""; } }else{ - print""; + print "
$Lang::tr{'fwdfw final_rule'}$Lang::tr{'fwdfw pol allow'}
$Lang::tr{'fwdfw final_rule'}$Lang::tr{'fwdfw pol block'}
"; + print""; } print"
$Lang::tr{'fwdfw final_rule'}$Lang::tr{'fwdfw pol block'}


"; }