Commit 7033771
committed
Update iface.py to fix the error of Interface name
Sometimes, 'bytes' after 'Interface' are too long, and there is no space between 'Interface' and 'bytes'.
For example, in my /proc/net/dev there is one line begin with 'eth0:137719774170', and the iface will be identified as 'eth0:137719774170'.1 parent 67f1378 commit 7033771
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
154 | | - | |
| 154 | + | |
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
| |||
0 commit comments