aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2015-03-17 13:50:37 +0000
committerBryn M. Reeves <bmr@redhat.com>2015-03-17 13:50:37 +0000
commit79d90ff649f89f784bdf41769f2326faa11cb7b0 (patch)
treed6e48ce22a99284686eb59ffd4ca15ba44709820
parent147c496d5b2a33b7534ac66dbfb7705ae7ccb7bd (diff)
downloadsos-79d90ff649f89f784bdf41769f2326faa11cb7b0.tar.gz
[networking] re-add 'ip addr' with a root symlink
Commit e320ca8 accidentally deleted collection of "ip -o addr" and the root "ip_addr" symlink: put it back. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/networking.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sos/plugins/networking.py b/sos/plugins/networking.py
index ae6cb1bb..ae5ea717 100644
--- a/sos/plugins/networking.py
+++ b/sos/plugins/networking.py
@@ -89,6 +89,7 @@ class Networking(Plugin):
self.add_forbidden_path("/proc/net/rpc/*/channel")
self.add_forbidden_path("/proc/net/rpc/*/flush")
+ self.add_cmd_output("ip -o addr", root_symlink = "ip_addr")
self.add_cmd_output("route -n", root_symlink="route")
self.collect_iptable("filter")
self.collect_iptable("nat")