Ensure empty firewall works

Initialise a namespace even before we do anything so we still get
policy and dropped packet logging applied.
This commit is contained in:
Phil Whineray 2015-03-05 07:29:55 +00:00
parent a674e0967d
commit c7824f2659

@ -1878,6 +1878,8 @@ init_namespace() {
FIREHOL_NS_CURR=${FIREHOL_DEFAULT_NAMESPACE}
}
init_namespace
push_namespace() {
if [ "$1" != "ipv4" -a "$1" != "ipv6" -a "$1" != "both" ]
then