aboutsummaryrefslogtreecommitdiff
path: root/contrib/bind9/bin/named/lwresd.c
diff options
context:
space:
mode:
authorDoug Barton <dougb@FreeBSD.org>2008-09-01 22:54:49 +0000
committerDoug Barton <dougb@FreeBSD.org>2008-09-01 22:54:49 +0000
commitac9a011f43b8b002871343d24dad700147836450 (patch)
tree76dd11ff82e0b16f834088d4e670d19e3c291dfe /contrib/bind9/bin/named/lwresd.c
parent1b34d5982bbdfe720e2df9b4f0c75fd489077444 (diff)
parentca732c8b83a6bb3115b1bebf77d19d83b2cf0dc9 (diff)
Merge from vendor/bind9/dist as of the 9.4.2-P2 import
Notes
Notes: svn path=/head/; revision=182645
Diffstat (limited to 'contrib/bind9/bin/named/lwresd.c')
-rw-r--r--contrib/bind9/bin/named/lwresd.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/contrib/bind9/bin/named/lwresd.c b/contrib/bind9/bin/named/lwresd.c
index a1073fa4bbf4..1f7184e72dcc 100644
--- a/contrib/bind9/bin/named/lwresd.c
+++ b/contrib/bind9/bin/named/lwresd.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-2003 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: lwresd.c,v 1.46.18.7 2006/03/02 00:37:21 marka Exp $ */
+/* $Id: lwresd.c,v 1.46.18.7.52.3 2008/07/23 23:16:43 marka Exp $ */
/*! \file
* \brief
@@ -576,7 +576,8 @@ listener_bind(ns_lwreslistener_t *listener, isc_sockaddr_t *address) {
return (result);
}
- result = isc_socket_bind(sock, &listener->address);
+ result = isc_socket_bind(sock, &listener->address,
+ ISC_SOCKET_REUSEADDRESS);
if (result != ISC_R_SUCCESS) {
char socktext[ISC_SOCKADDR_FORMATSIZE];
isc_sockaddr_format(&listener->address, socktext,