v1.5 branch refresh based upon upstream master @ c8677ca89e53e3be7988d54280fce166cc894a7e
[librecmc/librecmc.git] / package / network / utils / iptables / patches / 020-iptables-disable-modprobe.patch
1 --- a/libxtables/xtables.c
2 +++ b/libxtables/xtables.c
3 @@ -355,6 +355,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 @@ -395,6 +396,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