Home
last modified time | relevance | path

Searched refs:addr_copy (Results 1 – 1 of 1) sorted by relevance

/external/dnsmasq/src/
Dnetwork.c612 union mysockaddr addr_copy = *addr; in local_bind() local
616 if (addr_copy.sa.sa_family == AF_INET) addr_copy.in.sin_port = 0; in local_bind()
619 addr_copy.in6.sin6_port = 0; in local_bind()
623 if (bind(fd, (struct sockaddr*) &addr_copy, sa_len(&addr_copy)) == -1) return 0; in local_bind()