diff options
author | Doug Barton <dougb@FreeBSD.org> | 2008-09-01 20:53:25 +0000 |
---|---|---|
committer | Doug Barton <dougb@FreeBSD.org> | 2008-09-01 20:53:25 +0000 |
commit | ca732c8b83a6bb3115b1bebf77d19d83b2cf0dc9 (patch) | |
tree | 00951e23479d720f88789ce68ce281d7f6f81024 /lib/dns/request.c | |
parent | 82b3dc06d3dc3c698029580e543f22bad8d5f17b (diff) |
Notes
Diffstat (limited to 'lib/dns/request.c')
-rw-r--r-- | lib/dns/request.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/dns/request.c b/lib/dns/request.c index be8f93d6b843..c0348fe94f8f 100644 --- a/lib/dns/request.c +++ b/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. */ -/* $Id: request.c,v 1.72.18.5 2006/08/21 00:40:53 marka Exp $ */ +/* $Id: 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; |