mirror of
https://github.com/firehol/firehol.git
synced 2024-06-28 18:02:33 +00:00
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:
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
|
||||
|
Loading…
Reference in New Issue
Block a user