Commit 487ec2d4 authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

wpcap: Accept interfaces without associated IPv4 or IPv6 address.

parent 51b9f4cd
......@@ -323,7 +323,7 @@ static struct pcap_interface *build_win32_device( const struct pcap_interface *u
if (!(ret = calloc( 1, sizeof(*ret) ))) return NULL;
if (!(ret->name = build_win32_name( source, adapter_name ))) goto err;
if (!(ret->description = build_win32_description( unix_dev ))) goto err;
if (!(ret->addresses = build_win32_addresses( unix_dev->addresses ))) goto err;
ret->addresses = build_win32_addresses( unix_dev->addresses );
ret->flags = unix_dev->flags;
return ret;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment