summaryrefslogtreecommitdiffstats
path: root/package/network/utils/iptables/patches/020-iptables-disable-modprobe.patch
diff options
context:
space:
mode:
authorcyrus <cyrus@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-03-05 20:51:57 +0000
committercyrus <cyrus@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-03-05 20:51:57 +0000
commit3c8e7c92dce9d738ce09d9125f44cc7f8a39e643 (patch)
treed269946351a80307e2b9bf2af2363aed49c8e454 /package/network/utils/iptables/patches/020-iptables-disable-modprobe.patch
parent7fb3eac898ebb7ed7a0def78d68eedb674966621 (diff)
iptables: update to 1.4.18
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35892 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/utils/iptables/patches/020-iptables-disable-modprobe.patch')
-rw-r--r--package/network/utils/iptables/patches/020-iptables-disable-modprobe.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/package/network/utils/iptables/patches/020-iptables-disable-modprobe.patch b/package/network/utils/iptables/patches/020-iptables-disable-modprobe.patch
index 422058df7..ad4889b70 100644
--- a/package/network/utils/iptables/patches/020-iptables-disable-modprobe.patch
+++ b/package/network/utils/iptables/patches/020-iptables-disable-modprobe.patch
@@ -1,6 +1,6 @@
---- a/xtables.c
-+++ b/xtables.c
-@@ -305,6 +305,7 @@ static char *get_modprobe(void)
+--- a/libxtables/xtables.c
++++ b/libxtables/xtables.c
+@@ -336,6 +336,7 @@ static char *get_modprobe(void)
int xtables_insmod(const char *modname, const char *modprobe, bool quiet)
{
@@ -8,7 +8,7 @@
char *buf = NULL;
char *argv[4];
int status;
-@@ -348,6 +349,7 @@ int xtables_insmod(const char *modname,
+@@ -380,6 +381,7 @@ int xtables_insmod(const char *modname,
free(buf);
if (WIFEXITED(status) && WEXITSTATUS(status) == 0)
return 0;