Console: Fix network lib

This commit is contained in:
Eduardo Silva 2007-09-04 17:31:43 -04:00
parent e7274066f1
commit d802350130

View File

@ -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],\