From 12518751f32c8c482a6de1c26de5c38966ef4690 Mon Sep 17 00:00:00 2001 From: Dominic Benson Date: Sat, 4 Feb 2017 13:35:56 +0000 Subject: [PATCH] Reinstate behaviour for empty configuration --- sbin/firehol | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sbin/firehol b/sbin/firehol index 03597ee..936c27a 100755 --- a/sbin/firehol +++ b/sbin/firehol @@ -11973,6 +11973,10 @@ firewall_filtering_policy_common() { # so that its commands are prepended to the other iptables commands of the firewall firewall_filtering_policy_common_late() { + if [ ${FIREHOL_FILTERING_STARTED} -eq 0 ] + then + return + fi local iptables_cmd="${1}" local iptables_chain="${2}"