From 1300204ff1655a02ae22ea7a0e686b5a6a948ea2 Mon Sep 17 00:00:00 2001 From: arvidn Date: Mon, 13 Feb 2017 08:09:01 -0500 Subject: [PATCH] back-port pavel's fix to ip_interface.name --- src/enum_net.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/enum_net.cpp b/src/enum_net.cpp index 5faeee9e0..64f6aadee 100644 --- a/src/enum_net.cpp +++ b/src/enum_net.cpp @@ -698,6 +698,7 @@ namespace libtorrent for (;i != udp::resolver_iterator(); ++i) { iface.interface_address = i->endpoint().address(); + iface.name[0] = '\0'; iface.mtu = 1500; if (iface.interface_address.is_v4()) iface.netmask = address_v4::netmask(iface.interface_address.to_v4());