Fixed interface probing on Linux
This commit is contained in:
parent
5e88426204
commit
01dbfeddd3
|
@ -335,7 +335,7 @@ static int _ifinfo_linux_append(struct ifinfo ** dev, char * buf, int nb)
|
||||||
(*dev)[nb].obytes = strtoll(q, &q, 10);
|
(*dev)[nb].obytes = strtoll(q, &q, 10);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
continue;
|
||||||
}
|
}
|
||||||
if(*q != '\0')
|
if(*q != '\0')
|
||||||
return 1;
|
return 1;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user