1
0

020-iptables-disable-modprobe.patch 410 B

123456789101112131415161718
  1. --- a/libxtables/xtables.c
  2. +++ b/libxtables/xtables.c
  3. @@ -336,6 +336,7 @@ static char *get_modprobe(void)
  4. int xtables_insmod(const char *modname, const char *modprobe, bool quiet)
  5. {
  6. +#if 0
  7. char *buf = NULL;
  8. char *argv[4];
  9. int status;
  10. @@ -380,6 +381,7 @@ int xtables_insmod(const char *modname,
  11. free(buf);
  12. if (WIFEXITED(status) && WEXITSTATUS(status) == 0)
  13. return 0;
  14. +#endif
  15. return -1;
  16. }