From 93dfc2b2178337372b6991d5bd51678a4dc070b9 Mon Sep 17 00:00:00 2001 From: "Costa Tsaousis (ktsaou)" Date: Sun, 1 Feb 2015 23:06:48 +0200 Subject: [PATCH] fix for ipset compatibility --- sbin/firehol.in | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sbin/firehol.in b/sbin/firehol.in index 63e45f0..430b3f3 100755 --- a/sbin/firehol.in +++ b/sbin/firehol.in @@ -3916,6 +3916,9 @@ ipset46() { both ipset "${@}"; } ipset() { work_realcmd_helper $FUNCNAME "$@" + # make sure we have the command + test -z "${IPSET_CMD}" && ipset_cmd >/dev/null 2>&1 /dev/null 2>&1