mirror of
https://github.com/firehol/firehol.git
synced 2024-06-30 19:02:21 +00:00
should check for "any" not just empty
This commit is contained in:
parent
c1d46bec40
commit
a7c4287561
@ -7859,7 +7859,7 @@ rule() {
|
|||||||
|
|
||||||
|
|
||||||
# if there are custom arguments, keep the procol with it
|
# 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,
|
# If the user did not specify a rejection message,
|
||||||
|
Loading…
Reference in New Issue
Block a user