Skip to content

Commit

Permalink
Fix IOCTL test code.
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianpick committed Jan 8, 2024
1 parent 940f936 commit 80202cd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/test/bin/winkernel/control.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -629,6 +629,7 @@ size_t QUIC_IOCTL_BUFFER_SIZES[] =
0,
sizeof(INT32),
0,
sizeof(QUIC_RUN_CANCEL_ON_LOSS_PARAMS),
};

CXPLAT_STATIC_ASSERT(
Expand All @@ -646,6 +647,7 @@ typedef union {
QUIC_RUN_ABORTIVE_SHUTDOWN_PARAMS Params4;
QUIC_RUN_CID_UPDATE_PARAMS Params5;
QUIC_RUN_RECEIVE_RESUME_PARAMS Params6;
QUIC_RUN_CANCEL_ON_LOSS_PARAMS Params7;
UINT8 EnableKeepAlive;
UINT8 StopListenerFirst;
QUIC_RUN_DRILL_INITIAL_PACKET_CID_PARAMS DrillParams;
Expand Down Expand Up @@ -1534,7 +1536,7 @@ QuicTestCtlEvtIoDeviceControl(

case IOCTL_QUIC_RUN_CANCEL_ON_LOSS:
CXPLAT_FRE_ASSERT(Params != nullptr);
QuicTestCtlRun(QuicCancelOnLossSend(Params->DropPackets));
QuicTestCtlRun(QuicCancelOnLossSend(Params->Params7.DropPackets));
break;

default:
Expand Down

0 comments on commit 80202cd

Please sign in to comment.