diff --git a/src/cpp/utils/IPFinder.cpp b/src/cpp/utils/IPFinder.cpp index f792a679e28..23cfe4ca928 100644 --- a/src/cpp/utils/IPFinder.cpp +++ b/src/cpp/utils/IPFinder.cpp @@ -90,6 +90,7 @@ bool IPFinder::getIPs(std::vector* vec_name, bool return_loopback) info_IP info; info.type = family == AF_INET ? IP4 : IP6; info.name = std::string(buf); + info.dev = std::string(aa->AdapterName); // Currently not supported interfaces that not support multicast. if(aa->Flags & 0x0010)