~clint-fewbar/ubuntu/precise/squid3/ignore-sighup-early

« back to all changes in this revision

Viewing changes to src/dns_internal.cc

  • Committer: Package Import Robot
  • Author(s): Luigi Gangitano
  • Date: 2011-09-02 13:33:41 UTC
  • mto: (21.2.8 sid)
  • mto: This revision was merged to the branch mainline in revision 30.
  • Revision ID: package-import@ubuntu.com-20110902133341-56p01dh4mh6e308v
Tags: upstream-3.1.15
ImportĀ upstreamĀ versionĀ 3.1.15

Show diffs side-by-side

added added

removed removed

Lines of Context:
1386
1386
        IpAddress addrB = addrA;
1387
1387
        addrA.SetIPv4();
1388
1388
 
1389
 
        if (Ip::EnableIpv6 && (addrB.IsAnyAddr() || addrB.IsIPv6())) {
 
1389
        if (Ip::EnableIpv6 && addrB.IsIPv6()) {
1390
1390
            debugs(78, 2, "idnsInit: attempt open DNS socket to: " << addrB);
1391
1391
            DnsSocketB = comm_open_listener(SOCK_DGRAM,
1392
1392
                                            IPPROTO_UDP,
1395
1395
                                            "DNS Socket IPv6");
1396
1396
        }
1397
1397
 
1398
 
        if (addrA.IsAnyAddr() || addrA.IsIPv4()) {
 
1398
        if (addrA.IsIPv4()) {
1399
1399
            debugs(78, 2, "idnsInit: attempt open DNS socket to: " << addrA);
1400
1400
            DnsSocketA = comm_open_listener(SOCK_DGRAM,
1401
1401
                                            IPPROTO_UDP,