mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
Corrected off-by-one error retrieving adapter index.
svn path=/trunk/; revision=12841
This commit is contained in:
@@ -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++;
|
||||
|
||||
Reference in New Issue
Block a user