summaryrefslogtreecommitdiff
path: root/package/iptables/patches/020-iptables-disable-modprobe.patch
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-08-06 21:45:50 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-08-06 21:45:50 +0000
commit98746d4e8b8a970a93a07793321653889ddc93b2 (patch)
treeffe3e29c2ce4988ac8c3baeafc531c7d27d4a200 /package/iptables/patches/020-iptables-disable-modprobe.patch
parenta97d6b0c9514743b0285b4a65d60b1da1563da1c (diff)
downloadmtk-20170518-98746d4e8b8a970a93a07793321653889ddc93b2.zip
mtk-20170518-98746d4e8b8a970a93a07793321653889ddc93b2.tar.gz
mtk-20170518-98746d4e8b8a970a93a07793321653889ddc93b2.tar.bz2
iptables: refresh patch
SVN-Revision: 22520
Diffstat (limited to 'package/iptables/patches/020-iptables-disable-modprobe.patch')
-rw-r--r--package/iptables/patches/020-iptables-disable-modprobe.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/iptables/patches/020-iptables-disable-modprobe.patch b/package/iptables/patches/020-iptables-disable-modprobe.patch
index a6b5d1b..338962f 100644
--- a/package/iptables/patches/020-iptables-disable-modprobe.patch
+++ b/package/iptables/patches/020-iptables-disable-modprobe.patch
@@ -1,6 +1,6 @@
--- a/xtables.c
+++ b/xtables.c
-@@ -313,6 +313,7 @@ static char *get_modprobe(void)
+@@ -305,6 +305,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;
-@@ -356,6 +357,7 @@ int xtables_insmod(const char *modname,
+@@ -348,6 +349,7 @@ int xtables_insmod(const char *modname,
free(buf);
if (WIFEXITED(status) && WEXITSTATUS(status) == 0)
return 0;