added fix to ipv6 reverse zone export

This commit is contained in:
Tor Martin Slåen committed 2011-05-10 19:38:01 +02:00
1 parent 90230ffd39
commit f6247c88e8
1 file changed
+1 -1
+1 -1
View File
@@ -251,7 +251,7 @@ class Ip6Subnet(models.Model):
ip = ipaddr.IPv6Address(self.network + addr.address)
ip = ".".join(ip.exploded.replace(":","")[16:])[::-1]
content += "%s\tPTR\t%s\n" % (ip, hostname)
content += "%s\tPTR\t%s.\n" % (ip, hostname)
# addr = ipaddr.IPv6Address("%s%s" % (interface.