mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-19 03:06:35 +00:00
iptables: refresh patch
SVN-Revision: 22520
This commit is contained in:
parent
a97d6b0c95
commit
98746d4e8b
@ -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