From a7c4287561880268cd95d3c1bc0fbdddf5b3c26b Mon Sep 17 00:00:00 2001 From: "Costa Tsaousis (ktsaou)" Date: Mon, 23 Feb 2015 06:10:44 +0200 Subject: [PATCH] should check for "any" not just empty --- sbin/firehol.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbin/firehol.in b/sbin/firehol.in index 8536be2..f88efcb 100755 --- a/sbin/firehol.in +++ b/sbin/firehol.in @@ -7859,7 +7859,7 @@ rule() { # if there are custom arguments, keep the procol with it - [ ! -z "${custom}" -a -z "${require_protocol_with_action[*]}" ] && require_protocol_with_action=("${proto[@]}") + [ ! -z "${custom}" -a "${require_protocol_with_action[*]}" = "any" ] && require_protocol_with_action=("${proto[@]}") # If the user did not specify a rejection message,