[PATCH v3] ws2_32:Succeed IPV6_V6ONLY setsockopt for AF_INET sockets ignoring it

Anton Romanov theli.ua at gmail.com
Thu Jan 12 20:49:06 CST 2017


Those OK fail in wine.

On Jan 12, 2017 18:44, "Dmitry Timoshkov" <dmitry at baikal.ru> wrote:

> Anton Romanov <theli.ua at gmail.com> wrote:
>
> > +todo_wine {
> > +    enabled = 2;
> > +    ret = getsockopt(v4, IPPROTO_IPV6, IPV6_V6ONLY, (char*)&enabled,
> &len);
> > +    ok(!ret, "getsockopt(IPV6_ONLY) failed (LastError: %d)\n",
> WSAGetLastError());
> > +    ok(enabled == 1, "expected 1, got %d\n", enabled);
> > +}
>
> The 'todo_wine' statements should be added only around ok() call that will
> fail
> otherwise. This applies for other places in the patch as well.
>
> --
> Dmitry.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20170112/7794cb2f/attachment.html>


More information about the wine-devel mailing list