diff options
| author | 2008-08-04 16:34:20 +0000 | |
|---|---|---|
| committer | 2008-08-04 16:34:20 +0000 | |
| commit | 58d09879b74dcca641851384ab35dfd9de33145c (patch) | |
| tree | 9df9d4faaf3aa74153e7f664d80916894230226b /usr.sbin/bind/lib/dns/request.c | |
| parent | fix extended partition support by handling chained EBRs correctly (diff) | |
| download | wireguard-openbsd-58d09879b74dcca641851384ab35dfd9de33145c.tar.xz wireguard-openbsd-58d09879b74dcca641851384ab35dfd9de33145c.zip | |
Update to BIND 9.4.2-P2 and adapt our dynamic select changes. OK deraadt@
Diffstat (limited to 'usr.sbin/bind/lib/dns/request.c')
| -rw-r--r-- | usr.sbin/bind/lib/dns/request.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/bind/lib/dns/request.c b/usr.sbin/bind/lib/dns/request.c index 8b1abc9533b..0dce8bce70d 100644 --- a/usr.sbin/bind/lib/dns/request.c +++ b/usr.sbin/bind/lib/dns/request.c @@ -1,8 +1,8 @@ /* - * Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004-2006, 2008 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 2000-2002 Internet Software Consortium. * - * Permission to use, copy, modify, and distribute this software for any + * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $ISC: request.c,v 1.72.18.5 2006/08/21 00:40:53 marka Exp $ */ +/* $ISC: request.c,v 1.72.18.5.42.2 2008/07/23 07:28:56 tbox Exp $ */ /*! \file */ @@ -518,11 +518,11 @@ create_tcp_dispatch(dns_requestmgr_t *requestmgr, isc_sockaddr_t *srcaddr, if (srcaddr == NULL) { isc_sockaddr_anyofpf(&bind_any, isc_sockaddr_pf(destaddr)); - result = isc_socket_bind(socket, &bind_any); + result = isc_socket_bind(socket, &bind_any, 0); } else { src = *srcaddr; isc_sockaddr_setport(&src, 0); - result = isc_socket_bind(socket, &src); + result = isc_socket_bind(socket, &src, 0); } if (result != ISC_R_SUCCESS) goto cleanup; |
