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:
André Hentschel 2017-02-27 14:05:45 +01:00 committed by Alexandre Julliard
parent 42a62ad839
commit 38bf651bc4

View file

@ -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;