Skip to content

Commit

Permalink
Fixed filtering interfaces mechanism on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Miguel Barro Otero authored and Miguel Barro Otero committed Jan 31, 2019
1 parent 2bbe1e1 commit 8986319
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cpp/utils/IPFinder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ bool IPFinder::getIPs(std::vector<info_IP>* 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)
Expand Down

0 comments on commit 8986319

Please sign in to comment.