mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 09:50:02 +00:00
Corrected off-by-one error retrieving adapter index.
svn path=/trunk/; revision=12841
This commit is contained in:
parent
d33004b441
commit
647e34dd0c
1 changed files with 1 additions and 1 deletions
|
@ -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++;
|
||||
|
|
Loading…
Reference in a new issue