[PATCH] ws2_32: Use unsigned interface index on interface_bind_check

Alexandre Julliard julliard at winehq.org
Wed May 10 06:58:23 CDT 2017


Bruno Jesus <bjesus at codeweavers.com> writes:

> The exotic interface indexes used by linux for tun/ppp connections may
> cause problems resulting in interface_bind_check not finding the
> expected interface during loop.
>
> Signed-off-by: Bruno Jesus <bjesus at codeweavers.com>
> ---
>  dlls/ws2_32/socket.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

The error checking would need to be adapted then, checking ifindex > 0
no longer makes much sense.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list