iphlpapi: Add a private network IP to interfaces without an IP address

Michael Stefaniuc mstefani at redhat.com
Thu Jan 15 06:05:01 CST 2015

Hello Bruno,

On 01/15/2015 03:25 AM, Bruno Jesus wrote:
> Explanation in a comment inside the patch.
> To test this in Linux for example I have eth0 and wlan0, I'm connected
> by wifi so eth0 does not have an IP and currently wine returns an
> empty IP making Youku Desktop unhappy. More at
> https://bugs.winehq.org/show_bug.cgi?id=32205#c13.
I know that Windows assigns by default APIPA to IPv4 enabled interfaces
that are up. But what does it do if you disable that and the up
interface has no IP address? Will it still enumerate the interface?

> Fixes bug https://bugs.winehq.org/show_bug.cgi?id=32205
> Bibliography:
> http://www.webopedia.com/TERM/A/APIPA.html
> http://packetlife.net/blog/2008/sep/24/169-254-0-0-addresses-explained/
> http://tools.ietf.org/html/rfc3927 (I didn't read this completely)


More information about the wine-patches mailing list