Commit 9114bd16 by Rémi Denis-Courmont

Fix compilation om BSD clones

parent 697d71b5
......@@ -281,7 +281,7 @@ int Broadcast::GuessDestination (const char *str,
memset (a6, 0, sizeof (*a6));
a6->sin6_family = AF_INET6;
#ifdef HAVE_SA_LEN
a6->sin_len = sizeof (*a6);
a6->sin6_len = sizeof (*a6);
#endif
a6->sin6_scope_id = scope_id;
a6->sin6_port = htons (HELLO_PORT);
......
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