mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
Fix copy&paste error in setsockopt_off
Because of copy&paste error the setsockopt_off macro would enable the socket option instead of disabling it.
This commit is contained in:
@@ -2985,7 +2985,7 @@ isc__nm_closesocket(uv_os_sock_t sock) {
|
||||
setsockopt(socket, level, name, &(int){ 1 }, sizeof(int))
|
||||
|
||||
#define setsockopt_off(socket, level, name) \
|
||||
setsockopt(socket, level, name, &(int){ 1 }, sizeof(int))
|
||||
setsockopt(socket, level, name, &(int){ 0 }, sizeof(int))
|
||||
|
||||
isc_result_t
|
||||
isc__nm_socket_freebind(uv_os_sock_t fd, sa_family_t sa_family) {
|
||||
|
Reference in New Issue
Block a user