summaryrefslogtreecommitdiff
path: root/package/iptables/patches
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-01-23 22:28:32 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-01-23 22:28:32 +0000
commite0fa9a48814e2e68c661d831696743968c43f7b4 (patch)
tree86e329b95e9f67e5a1905ba0eb8c4411c5ea94ee /package/iptables/patches
parent3634de3b80e35576bbc5e3fa54c5e1dbfae8b4f9 (diff)
downloadmtk-20170518-e0fa9a48814e2e68c661d831696743968c43f7b4.zip
mtk-20170518-e0fa9a48814e2e68c661d831696743968c43f7b4.tar.gz
mtk-20170518-e0fa9a48814e2e68c661d831696743968c43f7b4.tar.bz2
iptables: update to v1.4.6, relocate patches - patch by Edgar Soldin
SVN-Revision: 19302
Diffstat (limited to 'package/iptables/patches')
-rw-r--r--package/iptables/patches/002-layer7_2.17.patch (renamed from package/iptables/patches/1.4.4/002-layer7_2.17.patch)0
-rw-r--r--package/iptables/patches/005-imq.patch (renamed from package/iptables/patches/1.4.4/005-imq.patch)6
-rw-r--r--package/iptables/patches/008-netfilter_include_linux_type_h.patch (renamed from package/iptables/patches/1.4.4/008-netfilter_include_linux_type_h.patch)0
-rw-r--r--package/iptables/patches/009-table-alignment.patch (renamed from package/iptables/patches/1.4.4/009-table-alignment.patch)0
4 files changed, 3 insertions, 3 deletions
diff --git a/package/iptables/patches/1.4.4/002-layer7_2.17.patch b/package/iptables/patches/002-layer7_2.17.patch
index a62d87f..a62d87f 100644
--- a/package/iptables/patches/1.4.4/002-layer7_2.17.patch
+++ b/package/iptables/patches/002-layer7_2.17.patch
diff --git a/package/iptables/patches/1.4.4/005-imq.patch b/package/iptables/patches/005-imq.patch
index fb5860a..9e4d627 100644
--- a/package/iptables/patches/1.4.4/005-imq.patch
+++ b/package/iptables/patches/005-imq.patch
@@ -48,7 +48,7 @@
+
+ switch(c) {
+ case '1':
-+ if (xtables_check_inverse(optarg, &invert, NULL, 0))
++ if (xtables_check_inverse(optarg, &invert, NULL, 0, argv))
+ xtables_error(PARAMETER_PROBLEM,
+ "Unexpected `!' after --todev");
+ mr->todev=atoi(optarg);
@@ -80,7 +80,7 @@
+static struct xtables_target imq_target = {
+ .name = "IMQ",
+ .version = XTABLES_VERSION,
-+ .family = AF_INET,
++ .family = NFPROTO_IPV4,
+ .size = XT_ALIGN(sizeof(struct xt_imq_info)),
+ .userspacesize = XT_ALIGN(sizeof(struct xt_imq_info)),
+ .help = IMQ_help,
@@ -94,7 +94,7 @@
+static struct xtables_target imq_target6 = {
+ .name = "IMQ",
+ .version = XTABLES_VERSION,
-+ .family = AF_INET6,
++ .family = NFPROTO_IPV6,
+ .size = XT_ALIGN(sizeof(struct xt_imq_info)),
+ .userspacesize = XT_ALIGN(sizeof(struct xt_imq_info)),
+ .help = IMQ_help,
diff --git a/package/iptables/patches/1.4.4/008-netfilter_include_linux_type_h.patch b/package/iptables/patches/008-netfilter_include_linux_type_h.patch
index 761f1c4..761f1c4 100644
--- a/package/iptables/patches/1.4.4/008-netfilter_include_linux_type_h.patch
+++ b/package/iptables/patches/008-netfilter_include_linux_type_h.patch
diff --git a/package/iptables/patches/1.4.4/009-table-alignment.patch b/package/iptables/patches/009-table-alignment.patch
index b11c0af..b11c0af 100644
--- a/package/iptables/patches/1.4.4/009-table-alignment.patch
+++ b/package/iptables/patches/009-table-alignment.patch