From c9e354f08e6b556399f65d587e3587fabdc4e2e3 Mon Sep 17 00:00:00 2001 From: Alexander Marx Date: Fri, 12 Jul 2013 13:30:14 +0200 Subject: [PATCH] Forward Firewall: show default rule when input is empty --- html/cgi-bin/forwardfw.cgi | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/html/cgi-bin/forwardfw.cgi b/html/cgi-bin/forwardfw.cgi index 84f7f27f5f..1b635b8b75 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'}


"; } -- 2.39.5