Changeset 646 for trunk/packages/sipb-xen-dns
- Timestamp:
- Jun 23, 2008, 4:23:00 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/sipb-xen-dns/code/dnsserver.py
r645 r646 49 49 50 50 ttl = 900 51 if name.lower() in self.domains: 52 domain = name.lower() 51 name = name.lower() 52 if name in self.domains: 53 domain = name 53 54 else: 54 55 # This works because domain will remain bound after breaking out of the loop 55 56 for domain in self.domains: 56 if name. lower().endswith('.'+domain):57 if name.endswith('.'+domain): 57 58 break 58 59 else: #Not us
Note: See TracChangeset
for help on using the changeset viewer.