iphlpapi/tests: Test ScopeID only for IPv6.
Signed-off-by: André Hentschel <nerv@dawncrow.de> Signed-off-by: Bruno Jesus <bjesus@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
42a62ad839
commit
38bf651bc4
|
@ -2067,8 +2067,6 @@ static void test_GetUnicastIpAddressEntry(void)
|
|||
if (row.Address.si_family == AF_INET6)
|
||||
ok(row.ScopeId.Value == row.Address.Ipv6.sin6_scope_id, "Expected %d, got %d\n",
|
||||
row.Address.Ipv6.sin6_scope_id, row.ScopeId.Value);
|
||||
else
|
||||
ok(row.ScopeId.Value == 0, "Expected 0, got %d\n", row.ScopeId.Value);
|
||||
ok(row.CreationTimeStamp.QuadPart, "CreationTimeStamp is 0\n");
|
||||
}
|
||||
ua = ua->Next;
|
||||
|
|
Loading…
Reference in New Issue