[IPHLPAPI]

- Fix incorrect interface indexes in the routing table returned from GetIpForwardTable

svn path=/branches/wlan-bringup/; revision=54941
This commit is contained in:
Cameron Gutman 2012-01-13 19:57:20 +00:00
parent 1e5b7c244a
commit e1eb1ebd07

View file

@ -1189,7 +1189,7 @@ DWORD WINAPI GetIpForwardTable(PMIB_IPFORWARDTABLE pIpForwardTable, PULONG pdwSi
pIpForwardTable->dwNumEntries = table->numRoutes;
for (ndx = 0; ndx < numRoutes; ndx++) {
pIpForwardTable->table[ndx].dwForwardIfIndex =
table->routes[ndx].ifIndex + 1;
table->routes[ndx].ifIndex;
pIpForwardTable->table[ndx].dwForwardDest =
table->routes[ndx].dest;
pIpForwardTable->table[ndx].dwForwardMask =