add net_route.metric

This commit is contained in:
Doug MacEachern 2005-07-15 04:13:45 +00:00
parent ddca24c78e
commit 43da1c4ac4
1 changed files with 1 additions and 0 deletions

View File

@ -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) &&