mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-02 15:45:25 +00:00
3254. [bug] Set isc_socket_ipv6only() on the IPv6 control channels.
[RT #22249]
This commit is contained in:
3
CHANGES
3
CHANGES
@@ -1,3 +1,6 @@
|
|||||||
|
3254. [bug] Set isc_socket_ipv6only() on the IPv6 control channels.
|
||||||
|
[RT #22249]
|
||||||
|
|
||||||
3253. [bug] Return DNS_R_SYNTAX when the input to a text field is
|
3253. [bug] Return DNS_R_SYNTAX when the input to a text field is
|
||||||
too long. [RT #26956]
|
too long. [RT #26956]
|
||||||
|
|
||||||
|
@@ -15,7 +15,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: controlconf.c,v 1.62 2011/03/12 04:59:46 tbox Exp $ */
|
/* $Id: controlconf.c,v 1.63 2011/12/22 08:07:48 marka Exp $ */
|
||||||
|
|
||||||
/*! \file */
|
/*! \file */
|
||||||
|
|
||||||
@@ -1148,6 +1148,11 @@ add_listener(ns_controls_t *cp, controllistener_t **listenerp,
|
|||||||
if (result == ISC_R_SUCCESS)
|
if (result == ISC_R_SUCCESS)
|
||||||
isc_socket_setname(listener->sock, "control", NULL);
|
isc_socket_setname(listener->sock, "control", NULL);
|
||||||
|
|
||||||
|
#ifndef ISC_ALLOW_MAPPED
|
||||||
|
if (result == ISC_R_SUCCESS)
|
||||||
|
isc_socket_ipv6only(listener->sock, ISC_TRUE);
|
||||||
|
#endif
|
||||||
|
|
||||||
if (result == ISC_R_SUCCESS)
|
if (result == ISC_R_SUCCESS)
|
||||||
result = isc_socket_bind(listener->sock, &listener->address,
|
result = isc_socket_bind(listener->sock, &listener->address,
|
||||||
ISC_SOCKET_REUSEADDRESS);
|
ISC_SOCKET_REUSEADDRESS);
|
||||||
|
Reference in New Issue
Block a user