Add counts to the iptables diags
@@ -86,8 +86,8 @@ func runDiags(logDir string) {
{"Dumping routes (IPv6)", "ip -6 route", "ipv6_route"},
{"Dumping interface info (IPv4)", "ip -4 addr", "ipv4_addr"},
{"Dumping interface info (IPv6)", "ip -6 addr", "ipv6_addr"},
- {"Dumping iptables (IPv4)", "iptables-save", "ipv4_tables"},
- {"Dumping iptables (IPv6)", "ip6tables-save", "ipv6_tables"},
+ {"Dumping iptables (IPv4)", "iptables-save -c", "ipv4_tables"},
+ {"Dumping iptables (IPv6)", "ip6tables-save -c", "ipv6_tables"},
{"Dumping ipsets", "ipset list", "ipsets"},
{"Dumping ipsets (container)", "docker run --privileged --net=host calico/node ipset list", "ipset_container"},
{"Copying journal for calico-node.service", "journalctl -u calico-node.service --no-pager", "journalctl_calico_node"},
