Corrected off-by-one error retrieving adapter index.

svn path=/trunk/; revision=12841
This commit is contained in:
Art Yerkes 2005-01-06 01:20:13 +00:00
parent d33004b441
commit 647e34dd0c

View file

@ -121,7 +121,7 @@ TDI_STATUS InfoTdiQueryGetRouteTable( PNDIS_BUFFER Buffer, PUINT BufferSize ) {
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++;