remove origin in ipv6 subnet zones

This commit is contained in:
Tor Martin Slåen committed 2011-05-09 01:13:38 +02:00
1 parent f4e54820c6
commit 90230ffd39
1 file changed
+2 -2
+2 -2
View File
@@ -239,8 +239,8 @@ class Ip6Subnet(models.Model):
content += ";\n"
# find the network
network = ipaddr.IPv6Address("%s::" % self.network)
content += "$ORIGIN " + ".".join(network.exploded.replace(":","")[:16])[::-1] + ".ip6.arpa.\n"
# network = ipaddr.IPv6Address("%s::" % self.network)
# content += "$ORIGIN " + ".".join(network.exploded.replace(":","")[:16])[::-1] + ".ip6.arpa.\n"
for addr in self.ip6address_set.all():
# if addr.interface_set.count() == 0: continue