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());