firewall: Fix creation of automatic rules for the firewall.
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 12 Apr 2014 13:16:08 +0000 (15:16 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 12 Apr 2014 13:16:08 +0000 (15:16 +0200)
commitaa5f4b65685421555cf09eccb068890926512abd
tree6de0da214779f09dbc3250a21de6540cdb98521f
parentdd73ef846e9b75c52da993044c0bbba67dc8f7f6
firewall: Fix creation of automatic rules for the firewall.

If the firewall is part of a local network (e.g. GREEN),
we automatically add rules that grant/forbid access for the firewall,
too.

This has been broken for various default policies other than ALLOWED.
config/firewall/firewall-lib.pl
config/firewall/rules.pl