aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Haley <bhaley@redhat.com>2020-09-29 12:52:56 -0400
committerJake Hunsaker <jhunsake@redhat.com>2020-10-01 12:16:22 -0400
commitbb66eddca66bb0cf7a8a110c98fe3290e5c3fe3d (patch)
treed68bd5790c93d20e4cba34735c030da7cfa77b7b
parente6af5287b6bde901690c58090f958960a536660a (diff)
downloadsos-bb66eddca66bb0cf7a8a110c98fe3290e5c3fe3d.tar.gz
[networking] Add ip6tables-save output for namespaces
The loop that collects iptables-save output should be doing the same for IPv6. Resolves: #2252 Signed-off-by: Brian Haley <bhaley@redhat.com> Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
-rw-r--r--sos/report/plugins/networking.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sos/report/plugins/networking.py b/sos/report/plugins/networking.py
index 397549a5..3d9aa149 100644
--- a/sos/report/plugins/networking.py
+++ b/sos/report/plugins/networking.py
@@ -269,6 +269,7 @@ class Networking(Plugin):
ns_cmd_prefix + "ip address show",
ns_cmd_prefix + "ip route show table all",
ns_cmd_prefix + "iptables-save",
+ ns_cmd_prefix + "ip6tables-save",
ns_cmd_prefix + "netstat %s -neopa" % self.ns_wide,
ns_cmd_prefix + "netstat -s",
ns_cmd_prefix + "netstat %s -agn" % self.ns_wide,