forked from extern/shorewall_code
Apply Luigi's small fix for IPSET=
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
670ecb203b
commit
a5e8bc6298
@ -582,7 +582,7 @@ show_routing() {
|
|||||||
determine_ipset_version() {
|
determine_ipset_version() {
|
||||||
local setname
|
local setname
|
||||||
|
|
||||||
if [ -z "$IPSET" -o $IPSET = ipset ]; then
|
if [ -z "$IPSET" -o "$IPSET" = "ipset" ]; then
|
||||||
IPSET=$(mywhich ipset)
|
IPSET=$(mywhich ipset)
|
||||||
[ -n "$IPSET" ] || fatal_error "The ipset utility cannot be located"
|
[ -n "$IPSET" ] || fatal_error "The ipset utility cannot be located"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user