Commit 71bb81ed authored by Michael Graff's avatar Michael Graff
Browse files

sa_len fix

parent 23bf6e20
......@@ -129,7 +129,9 @@ start_response(void)
memset(&from, 0, sizeof(from));
from.length = sizeof(struct sockaddr_in);
#ifdef ISC_NET_HAVESALEN
from.type.sa.sa_len = sizeof(struct sockaddr_in);
#endif
from.type.sin.sin_port = htons(53);
from.type.sa.sa_family = AF_INET;
RUNTIME_CHECK(isc_inet_aton("204.152.184.97",
......
Supports Markdown
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