mirror of
https://gitlab.com/shorewall/code.git
synced 2025-07-14 21:35:20 +02:00
Avoid annoying 'ipset:not found' message
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@2392 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
@ -6368,6 +6368,7 @@ determine_capabilities() {
|
||||
qt $IPTABLES -t mangle -X fooX1234
|
||||
|
||||
|
||||
if qt which ipset; then
|
||||
qt ipset -X fooX1234 # Just in case something went wrong the last time
|
||||
|
||||
if qt ipset -N fooX1234 iphash ; then
|
||||
@ -6377,6 +6378,7 @@ determine_capabilities() {
|
||||
fi
|
||||
qt ipset -X fooX1234
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -n "$PKTTYPE" ]; then
|
||||
qt $IPTABLES -A fooX1234 -m pkttype --pkt-type broadcast -j ACCEPT || PKTTYPE=
|
||||
|
Reference in New Issue
Block a user