diff --git a/rostests/apitests/iphlpapi/SendARP.c b/rostests/apitests/iphlpapi/SendARP.c index 0c8703ac745..bf869621d42 100644 --- a/rostests/apitests/iphlpapi/SendARP.c +++ b/rostests/apitests/iphlpapi/SendARP.c @@ -80,6 +80,7 @@ static VOID TestUM(IPAddr * Source) if (!Current->FirstUnicastAddress) continue; + ok(Current->FirstUnicastAddress->Address.iSockaddrLength == sizeof(SOCKADDR_IN), "Unexpected length: %u\n", Current->FirstUnicastAddress->Address.iSockaddrLength); SockAddr = (PSOCKADDR_IN)Current->FirstUnicastAddress->Address.lpSockaddr; IpAddr = SockAddr->sin_addr.S_un.S_addr;