Commit e26901a1 authored by Tomek Mrugalski's avatar Tomek Mrugalski 🛰
Browse files

Fix for failing test in IfaceMgr on FreeBSD (fix after 1238 merge)

parent eaa492e0
......@@ -340,6 +340,7 @@ IfaceMgr::openSocket6(Iface& iface, const IOAddress& addr, int port) {
memset(&addr6, 0, sizeof(addr6));
addr6.sin6_family = AF_INET6;
addr6.sin6_port = htons(port);
if (addr.toText() != "::1")
addr6.sin6_scope_id = if_nametoindex(iface.getName().c_str());
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment