diff options
Diffstat (limited to 'src/fuzz/fuzz-dhcp6-client.c')
-rw-r--r-- | src/fuzz/fuzz-dhcp6-client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fuzz/fuzz-dhcp6-client.c b/src/fuzz/fuzz-dhcp6-client.c index 32a3c30643..0417062c5f 100644 --- a/src/fuzz/fuzz-dhcp6-client.c +++ b/src/fuzz/fuzz-dhcp6-client.c @@ -18,7 +18,7 @@ int dhcp6_network_send_udp_socket(int s, struct in6_addr *server_address, } int dhcp6_network_bind_udp_socket(int index, struct in6_addr *local_address) { - assert_se(socketpair(AF_UNIX, SOCK_STREAM, 0, test_dhcp_fd) >= 0); + assert_se(socketpair(AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC | SOCK_NONBLOCK, 0, test_dhcp_fd) >= 0); return test_dhcp_fd[0]; } |