sa_len fix

This commit is contained in:
Michael Graff
1999-07-09 21:10:40 +00:00
parent 23bf6e20ec
commit 71bb81ed46

View File

@@ -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",