mirror of
https://gitlab.com/shorewall/code.git
synced 2025-05-29 22:18:48 +02:00
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,
|
IPTABLES => undef,
|
||||||
IP => undef,
|
IP => undef,
|
||||||
TC => undef,
|
TC => undef,
|
||||||
IPSEC => undef,
|
IPSET => undef,
|
||||||
#
|
#
|
||||||
#PATH is inherited
|
#PATH is inherited
|
||||||
#
|
#
|
||||||
|
@ -242,9 +242,9 @@ get_config() {
|
|||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
prog="$(mywhich $IP 2> /dev/null)"
|
prog="$(mywhich $TC 2> /dev/null)"
|
||||||
if [ -z "$prog" ] ; then
|
if [ -z "$prog" ] ; then
|
||||||
echo " ERROR: Can't find $IP executable" >&2
|
echo " ERROR: Can't find $TC executable" >&2
|
||||||
exit 2
|
exit 2
|
||||||
fi
|
fi
|
||||||
TC=$prog
|
TC=$prog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user