Don't default IPSET to 'ipset'.

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep
2012-11-09 08:54:54 -08:00
parent 860ee6de27
commit 5fcdfd779c
4 changed files with 12 additions and 25 deletions

View File

@ -136,6 +136,12 @@ get_config() {
exit 2
fi
;;
ipset)
#
# Old config files had this as default
#
IPSET=''
;;
*)
prog="$(mywhich $IPSET 2> /dev/null)"
if [ -z "$prog" ] ; then
@ -146,7 +152,7 @@ get_config() {
;;
esac
else
IPSET='ipset'
IPSET=''
fi
if [ -n "$TC" ]; then