Commit 7e0fdfb4 authored by Tomek Mrugalski's avatar Tomek Mrugalski 🛰
Browse files

[1237] Compilation fix for MacOS

parent de6f226a
......@@ -426,7 +426,7 @@ int IfaceMgr::openSocket6(Iface& iface, const IOAddress& addr, int port) {
addr.getAddress().to_v6().to_bytes().data(),
sizeof(addr6.sin6_addr));
#ifdef HAVE_SA_LEN
addr6->sin6_len = sizeof(addr6);
addr6.sin6_len = sizeof(addr6);
#endif
// TODO: use sockcreator once it becomes available
......
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