mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +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:
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user