[ros-diffs] [cgutman] 54941: [IPHLPAPI] - Fix incorrect interface indexes in the routing table returned from GetIpForwardTable
cgutman at svn.reactos.org
cgutman at svn.reactos.org
Fri Jan 13 19:57:20 UTC 2012
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/iphlpapi_main.c?rev=54941&r1=54940&r2=54941&view=diff
==============================================================================
--- 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 =
More information about the Ros-diffs
mailing list