diff options
author | Ben Greear <greearb@candelatech.com> | 2010-07-29 08:24:59 -0700 |
---|---|---|
committer | Ben Greear <greearb@candelatech.com> | 2010-07-29 22:31:56 -0700 |
commit | 3e33e2c2ba612d19cf7c1f77c8953b012489e801 (patch) | |
tree | 775f1cf48eeab96339296ec8553bb2505500121d /ares_process.c | |
parent | 28ff9336d5c8993e197502d68c45c5b7f4fe83d6 (diff) | |
download | c-ares-3e33e2c2ba612d19cf7c1f77c8953b012489e801.tar.gz c-ares-3e33e2c2ba612d19cf7c1f77c8953b012489e801.tar.bz2 c-ares-3e33e2c2ba612d19cf7c1f77c8953b012489e801.zip |
ipv6: Fix some build issues related to the local-bind feature.
Signed-off-by: Ben Greear <greearb@candelatech.com>
Diffstat (limited to 'ares_process.c')
-rw-r--r-- | ares_process.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ares_process.c b/ares_process.c index 14dce71..c3d7fa4 100644 --- a/ares_process.c +++ b/ares_process.c @@ -912,7 +912,7 @@ static int configure_socket(ares_socket_t s, int family, ares_channel channel) } } else if (family == AF_INET6) { - if (memcmp(channel->local_ip6, &in6addr_any, sizeof(channel->local_ip6)) != 0) { + if (memcmp(channel->local_ip6, &ares_in6addr_any, sizeof(channel->local_ip6)) != 0) { struct sockaddr_in6 sa; memset(&sa, 0, sizeof(sa)); sa.sin6_family = AF_INET6; |