add net_route.metric
This commit is contained in:
parent
ddca24c78e
commit
43da1c4ac4
|
@ -1725,6 +1725,7 @@ SIGAR_DECLARE(int) sigar_net_route_list_get(sigar_t *sigar,
|
|||
route->destination = ipr->dwForwardDest;
|
||||
route->mask = ipr->dwForwardMask;
|
||||
route->gateway = ipr->dwForwardNextHop;
|
||||
route->metric = ipr->dwForwardMetric1;
|
||||
|
||||
route->flags = SIGAR_RTF_UP;
|
||||
if ((route->destination == 0) &&
|
||||
|
|
Loading…
Reference in New Issue