diff options
-rw-r--r-- | sos/plugins/networking.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sos/plugins/networking.py b/sos/plugins/networking.py index 1004aa2f..646eb226 100644 --- a/sos/plugins/networking.py +++ b/sos/plugins/networking.py @@ -212,6 +212,8 @@ class Networking(Plugin): "nmcli --terse --fields NAME con") if nmcli_con_show_result['status'] == 0: for con in nmcli_con_show_result['output'].splitlines(): + if con[0:7] == 'Warning': + continue self.add_cmd_output("%s '%s'" % (nmcli_con_details_cmd, con)) @@ -219,6 +221,8 @@ class Networking(Plugin): "nmcli --terse --fields DEVICE dev") if nmcli_dev_status_result['status'] == 0: for dev in nmcli_dev_status_result['output'].splitlines(): + if dev[0:7] == 'Warning': + continue self.add_cmd_output("%s '%s'" % (nmcli_dev_details_cmd, dev)) |