050-optional-xml.patch 455 B

12345678910111213
  1. --- a/iptables/xtables-multi.c
  2. +++ b/iptables/xtables-multi.c
  3. @@ -22,8 +22,10 @@ static const struct subcommand multi_sub
  4. {"iptables-restore", iptables_restore_main},
  5. {"restore4", iptables_restore_main},
  6. #endif
  7. +#ifdef ENABLE_XML
  8. {"iptables-xml", iptables_xml_main},
  9. {"xml", iptables_xml_main},
  10. +#endif
  11. #ifdef ENABLE_IPV6
  12. {"ip6tables", ip6tables_main},
  13. {"main6", ip6tables_main},