aboutsummaryrefslogtreecommitdiffstats
path: root/main/shorewall-common/shorewall-common-ipset.patch
blob: 8c6ff72aac86783516f9bf389693cad313fd524a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- shorewall-common-4.2.11.orig/lib.cli
+++ shorewall-common-4.2.11/lib.cli
@@ -315,8 +315,6 @@
 					grep 'loadmodule ip_set' ${VARDIR}/.modules >> $f
 					echo "__EOF__" >> $f
 					echo  >> $f
-					echo "ipset -U :all: :all:" >> $f
-					echo "ipset -U :all: :default:" >> $f
 					echo "ipset -F" >> $f
 					echo "ipset -X" >> $f
 					echo "ipset -R << __EOF__" >> $f
--- shorewall-common-4.2.11.orig/lib.config
+++ shorewall-common-4.2.11/lib.config
@@ -884,7 +884,7 @@
 	    ;;
     esac
 
-    echo "--set ${setname#+} $options"
+    echo "--match-set ${setname#+} $options"
 }
 
 #