338962ffbeea758e44776a3c690648b364549f8d
[openwrt.git] / package / iptables / patches / 020-iptables-disable-modprobe.patch
1 --- a/xtables.c
2 +++ b/xtables.c
3 @@ -305,6 +305,7 @@ static char *get_modprobe(void)
4
5 int xtables_insmod(const char *modname, const char *modprobe, bool quiet)
6 {
7 +#if 0
8 char *buf = NULL;
9 char *argv[4];
10 int status;
11 @@ -348,6 +349,7 @@ int xtables_insmod(const char *modname,
12 free(buf);
13 if (WIFEXITED(status) && WEXITSTATUS(status) == 0)
14 return 0;
15 +#endif
16 return -1;
17 }
18
This page took 0.038909 seconds and 3 git commands to generate.