Corrected off-by-one error retrieving adapter index.
Modified: trunk/reactos/drivers/net/tcpip/tcpip/ninfo.c
_____
Modified: trunk/reactos/drivers/net/tcpip/tcpip/ninfo.c
--- trunk/reactos/drivers/net/tcpip/tcpip/ninfo.c 2005-01-05
22:36:17 UTC (rev 12840)
+++ trunk/reactos/drivers/net/tcpip/tcpip/ninfo.c 2005-01-06
01:20:13 UTC (rev 12841)
@@ -121,7 +121,7 @@
EntityList[RtCurrent->Index - 1].context;
RtCurrent->Index-- );
- RtCurrent->Index = EntityList[RtCurrent->Index].tei_instance;
+ RtCurrent->Index = EntityList[RtCurrent->Index -
1].tei_instance;
TcpipReleaseSpinLock(&EntityListLock, OldIrql);
RtCurrent++; RCacheCur++;