mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 03:01:55 +02:00
[package] iptables: refresh patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22520 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
04e9a33b0f
commit
a1fc7ca1b2
@ -1,6 +1,6 @@
|
|||||||
--- a/xtables.c
|
--- a/xtables.c
|
||||||
+++ b/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)
|
int xtables_insmod(const char *modname, const char *modprobe, bool quiet)
|
||||||
{
|
{
|
||||||
@ -8,7 +8,7 @@
|
|||||||
char *buf = NULL;
|
char *buf = NULL;
|
||||||
char *argv[4];
|
char *argv[4];
|
||||||
int status;
|
int status;
|
||||||
@@ -356,6 +357,7 @@ int xtables_insmod(const char *modname,
|
@@ -348,6 +349,7 @@ int xtables_insmod(const char *modname,
|
||||||
free(buf);
|
free(buf);
|
||||||
if (WIFEXITED(status) && WEXITSTATUS(status) == 0)
|
if (WIFEXITED(status) && WEXITSTATUS(status) == 0)
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user