mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-03 08:05:21 +00:00
fix typo in unexecuted code
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: socket.c,v 1.34 2004/06/30 23:35:17 marka Exp $ */
|
/* $Id: socket.c,v 1.35 2004/09/01 04:38:43 marka Exp $ */
|
||||||
|
|
||||||
/* This code has been rewritten to take advantage of Windows Sockets
|
/* This code has been rewritten to take advantage of Windows Sockets
|
||||||
* I/O Completion Ports and Events. I/O Completion Ports is ONLY
|
* I/O Completion Ports and Events. I/O Completion Ports is ONLY
|
||||||
@@ -1918,7 +1918,7 @@ isc_socket_create(isc_socketmgr_t *manager, int pf, isc_sockettype_t type,
|
|||||||
if ((pf == AF_INET6)
|
if ((pf == AF_INET6)
|
||||||
&& (setsockopt(sock->fd, IPPROTO_IPV6, IPV6_PKTINFO,
|
&& (setsockopt(sock->fd, IPPROTO_IPV6, IPV6_PKTINFO,
|
||||||
(void *)&on, sizeof(on)) < 0)) {
|
(void *)&on, sizeof(on)) < 0)) {
|
||||||
isc__strerror(WSAGetLaastError(), strbuf, sizeof(strbuf));
|
isc__strerror(WSAGetLastError(), strbuf, sizeof(strbuf));
|
||||||
UNEXPECTED_ERROR(__FILE__, __LINE__,
|
UNEXPECTED_ERROR(__FILE__, __LINE__,
|
||||||
"setsockopt(%d, IPV6_PKTINFO) %s: %s",
|
"setsockopt(%d, IPV6_PKTINFO) %s: %s",
|
||||||
sock->fd,
|
sock->fd,
|
||||||
|
Reference in New Issue
Block a user