diff --git a/services/console/lib/net/device.py b/services/console/lib/net/device.py index ad86c311..17b0ecc2 100644 --- a/services/console/lib/net/device.py +++ b/services/console/lib/net/device.py @@ -42,6 +42,9 @@ class Device: iface = string.split(line, ":",1) arr = string.split(iface[1]) + if len(arr) < 10: + continue + info = {'interface': iface[0].strip(), \ 'bytes_recv': arr[0],\ 'bytes_sent': arr[8],\