Merge branch 'sigar-1.6'

This commit is contained in:
Doug MacEachern 2010-01-18 19:08:57 -08:00
commit 9c37813c57
1 changed files with 1 additions and 1 deletions

View File

@ -1888,7 +1888,7 @@ int sigar_net_route_list_get(sigar_t *sigar,
for (entry = (mib2_ipRouteEntry_t *)data, end = data + len; for (entry = (mib2_ipRouteEntry_t *)data, end = data + len;
(char *)entry < end; (char *)entry < end;
entry = (mib2_ipRouteEntry_t *)((char *)data+nread), nread+=size) nread+=size, entry = (mib2_ipRouteEntry_t *)((char *)data+nread))
{ {
sigar_net_route_t *route; sigar_net_route_t *route;
int type = entry->ipRouteInfo.re_ire_type; int type = entry->ipRouteInfo.re_ire_type;