aboutsummaryrefslogtreecommitdiffstats
path: root/main/shorewall-common/shorewall-iptables-deprecated.patch
blob: eff0511a00ffd8aed7bd3b0e0af3980c01bdbf79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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"