mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
1146. [func] Allow IPV6_IPV6ONLY to be set/cleared on a socket if
supported by the OS by a new function isc_socket_ipv6only().
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: socket.c,v 1.11 2001/11/27 01:56:22 gson Exp $ */
|
||||
/* $Id: socket.c,v 1.12 2001/11/29 07:31:23 marka Exp $ */
|
||||
|
||||
|
||||
#define MAKE_EXTERNAL 1
|
||||
@@ -3401,3 +3401,11 @@ isc_socket_isbound(isc_socket_t *sock) {
|
||||
|
||||
return (val);
|
||||
}
|
||||
|
||||
void
|
||||
isc_socket_ipv6only(isc_socket_t *sock, isc_boolean_t yes) {
|
||||
UNUSED(yes);
|
||||
UNUSED(sock);
|
||||
|
||||
REQUIRE(VALID_SOCKET(sock));
|
||||
}
|
||||
|
Reference in New Issue
Block a user