diff options
Diffstat (limited to 'main/shorewall-common/shorewall-iptables-deprecated.patch')
-rw-r--r-- | main/shorewall-common/shorewall-iptables-deprecated.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/main/shorewall-common/shorewall-iptables-deprecated.patch b/main/shorewall-common/shorewall-iptables-deprecated.patch new file mode 100644 index 0000000000..eff0511a00 --- /dev/null +++ b/main/shorewall-common/shorewall-iptables-deprecated.patch @@ -0,0 +1,22 @@ +--- ./lib.config.orig ++++ ./lib.config +@@ -924,6 +924,9 @@ + +*) + echo "-m set $(get_set_flags $1 src)" + ;; ++ !*) ++ echo "! -s ${1#!}" ++ ;; + *) + echo "-s $1" + ;; +@@ -951,6 +954,9 @@ + ;; + +*) + echo "-m set $(get_set_flags $1 dst)" ++ ;; ++ !*) ++ echo "! -d ${1#!}" + ;; + *) + echo "-d $1" |