Skip to content

Commit 6005fa7

Browse files
authored
Fix previous WS2019 test fix for USO (#16)
* add support for multiple NBs per NBL on TX filtering path * fix whitespace * fix tests on 2019 * fix previous fix
1 parent 45d5afb commit 6005fa7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/functional/tests.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -658,12 +658,12 @@ BasicTx()
658658
SetSockAddr(FNMP_NEIGHBOR_IPV4_ADDRESS, 1234, AF_INET, &RemoteAddr);
659659

660660
if (SOCKET_ERROR == WSASetUdpSendMessageSize(UdpSocket.get(), ExpectedUdpPayloadSize)) {
661-
TEST_EQUAL(WSAEOPNOTSUPP, WSAGetLastError());
661+
TEST_EQUAL(WSAEINVAL, WSAGetLastError());
662662
Uso = FALSE;
663663
SendSize = ExpectedUdpPayloadSize;
664664
}
665665

666-
TEST_EQUAL(sizeof(UdpPayload), sendto(UdpSocket.get(), (PCHAR)UdpPayload, SendSize, 0, (PSOCKADDR)&RemoteAddr, sizeof(RemoteAddr)));
666+
TEST_EQUAL((int)SendSize, sendto(UdpSocket.get(), (PCHAR)UdpPayload, SendSize, 0, (PSOCKADDR)&RemoteAddr, sizeof(RemoteAddr)));
667667

668668
auto MpTxFrame = MpTxAllocateAndGetFrame(SharedMp, 0);
669669

0 commit comments

Comments
 (0)