Browse Source

[1237] Compilation fix for MacOS

Tomek Mrugalski 13 years ago
parent
commit
1cd357e3b4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/lib/dhcp/iface_mgr.cc

+ 1 - 1
src/lib/dhcp/iface_mgr.cc

@@ -367,7 +367,7 @@ 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