mirror of
https://github.com/reactos/reactos.git
synced 2024-07-31 00:28:56 +00:00
[IPHLPAPI]
- Fix incorrect interface indexes in the routing table returned from GetIpForwardTable svn path=/branches/wlan-bringup/; revision=54941
This commit is contained in:
parent
1e5b7c244a
commit
e1eb1ebd07
|
@ -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 =
|
||||
|
|
Loading…
Reference in a new issue