iptables: add some musl portability fixes
Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 34313
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
char *buf = NULL;
|
||||
char *argv[4];
|
||||
int status;
|
||||
@@ -348,6 +349,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;
|
||||
|
||||
Reference in New Issue
Block a user