forked from extern/shorewall_code
Fix a couple of bugs in IP, IPSET and TC implementation
This commit is contained in:
parent
f53a2f87c6
commit
1ea8beb47a
@ -358,7 +358,7 @@ sub initialize( $ ) {
|
||||
IPTABLES => undef,
|
||||
IP => undef,
|
||||
TC => undef,
|
||||
IPSEC => undef,
|
||||
IPSET => undef,
|
||||
#
|
||||
#PATH is inherited
|
||||
#
|
||||
|
@ -242,9 +242,9 @@ get_config() {
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
prog="$(mywhich $IP 2> /dev/null)"
|
||||
prog="$(mywhich $TC 2> /dev/null)"
|
||||
if [ -z "$prog" ] ; then
|
||||
echo " ERROR: Can't find $IP executable" >&2
|
||||
echo " ERROR: Can't find $TC executable" >&2
|
||||
exit 2
|
||||
fi
|
||||
TC=$prog
|
||||
|
Loading…
Reference in New Issue
Block a user