aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/utils/iptables/patches/020-iptables-disable-modprobe.patch
diff options
context:
space:
mode:
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 ad4889b706..422058df78 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/libxtables/xtables.c
-+++ b/libxtables/xtables.c
-@@ -336,6 +336,7 @@ static char *get_modprobe(void)
+--- a/xtables.c
++++ b/xtables.c
+@@ -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;
-@@ -380,6 +381,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;