mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-02-14 08:13:12 -05:00
extra define
git-svn-id: file:///svn/unbound/trunk@64 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
4ca689882d
commit
5e0fbfbe5b
1 changed files with 2 additions and 0 deletions
|
|
@ -84,7 +84,9 @@ int
|
|||
create_udp_sock(struct addrinfo *addr)
|
||||
{
|
||||
int s, flag;
|
||||
# if defined(IPV6_V6ONLY)
|
||||
int on=1;
|
||||
# endif
|
||||
verbose_print_addr(addr);
|
||||
if((s = socket(addr->ai_family, addr->ai_socktype, 0)) == -1) {
|
||||
log_err("can't create socket: %s", strerror(errno));
|
||||
|
|
|
|||
Loading…
Reference in a new issue