From 487ec2d4568a1b1e81781d648a5686a91617dafb Mon Sep 17 00:00:00 2001 From: Hans Leidekker Date: Mon, 11 Oct 2021 16:54:39 +0200 Subject: [PATCH] wpcap: Accept interfaces without associated IPv4 or IPv6 address. Signed-off-by: Hans Leidekker Signed-off-by: Alexandre Julliard --- dlls/wpcap/wpcap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/wpcap/wpcap.c b/dlls/wpcap/wpcap.c index 3a0b2381697..67d55b8f3f0 100644 --- a/dlls/wpcap/wpcap.c +++ b/dlls/wpcap/wpcap.c @@ -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; -- 2.11.4.GIT