Author: cgutman
Date: Fri Jan 13 19:57:20 2012
New Revision: 54941
URL:
http://svn.reactos.org/svn/reactos?rev=54941&view=rev
Log:
[IPHLPAPI]
- Fix incorrect interface indexes in the routing table returned from GetIpForwardTable
Modified:
branches/wlan-bringup/dll/win32/iphlpapi/iphlpapi_main.c
Modified: branches/wlan-bringup/dll/win32/iphlpapi/iphlpapi_main.c
URL:
http://svn.reactos.org/svn/reactos/branches/wlan-bringup/dll/win32/iphlpapi…
==============================================================================
--- branches/wlan-bringup/dll/win32/iphlpapi/iphlpapi_main.c [iso-8859-1] (original)
+++ branches/wlan-bringup/dll/win32/iphlpapi/iphlpapi_main.c [iso-8859-1] Fri Jan 13
19:57:20 2012
@@ -1189,7 +1189,7 @@
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 =