[PATCH] iphlpapi: Ensure GetIpAddrTable returns loopback addresses in the end

Alexandre Julliard julliard at winehq.org
Thu Dec 1 07:43:21 CST 2016


Bruno Jesus <00cpxxx at gmail.com> writes:

> Manually tested by other people in GNU/Linux and OSX, in every case
> loopback was returned first while in all testbot Windows machines and
> my Windows machines the loopback comes after everything.
>
> Fixes https://bugs.winehq.org/show_bug.cgi?id=40247
>
> Signed-off-by: Bruno Jesus <00cpxxx at gmail.com>
> ---
>  dlls/iphlpapi/iphlpapi_main.c  | 27 +++++++++++++++++++++------
>  dlls/iphlpapi/tests/iphlpapi.c |  4 ++++
>  2 files changed, 25 insertions(+), 6 deletions(-)

This breaks the tests here:

../../../tools/runtest -q -P wine -T ../../.. -M ws2_32.dll -p ws2_32_test.exe.so sock && touch sock.ok
sock.c:2489: Tests skipped: SOCK_RAW is not supported
sock.c:6947: Test failed: got 11002 expected WSAHOST_NOT_FOUND
sock.c:6948: Test failed: expected 11001, got 11002
sock.c:7197: Test failed: got 11002 expected WSAHOST_NOT_FOUND
sock.c:7198: Test failed: expected 11001, got 11002
sock.c:8648: Tests skipped: Cannot test SIO_ADDRESS_LIST_CHANGE, interactive tests must be enabled
Makefile:208: recipe for target 'sock.ok' failed
make: *** [sock.ok] Error 4

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list