Ignore:
Timestamp:
Jun 23, 2008, 9:57:35 PM (16 years ago)
Author:
broder
Message:

Empty the authority and additional sections to prevent infinite loops if there
is no response

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/sipb-xen-dns/code/dnsserver.py

    r646 r650  
    8888                results.append(dns.RRHeader(domain, dns.SOA, dns.IN,
    8989                                            ttl, self.soa, auth=True))
     90            if len(results) == 0:
     91                authority = []
     92                additional = []
    9093            return defer.succeed((results, authority, additional))
    9194        else:
Note: See TracChangeset for help on using the changeset viewer.