ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/src/s_bsd.c
(Generate patch)

Comparing ircd-hybrid-7.2/src/s_bsd.c (file contents):
Revision 683 by michael, Thu Jun 15 14:28:59 2006 UTC vs.
Revision 871 by db, Fri Sep 14 03:33:44 2007 UTC

# Line 550 | Line 550 | comm_connect_tcp(fde_t *fd, const char *
550      fd->dns_query = MyMalloc(sizeof(struct DNSQuery));
551      fd->dns_query->ptr = fd;
552      fd->dns_query->callback = comm_connect_dns_callback;
553 <    gethost_byname(host, fd->dns_query);
553 >    if (aftype == AF_INET6)
554 >      gethost_byname_type(host, fd->dns_query, T_AAAA);
555 >    else
556 >      gethost_byname_type(host, fd->dns_query, T_A);
557    }
558    else
559    {

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)