X-Git-Url: https://git.openstreetmap.org./dns.git/blobdiff_plain/b17c8fd4ea82fb9e6a96371fb4891cb3c8cd439f..65215120765779c2a38ebe24f5443b84ad4fbc3d:/bin/mkgeo?ds=sidebyside diff --git a/bin/mkgeo b/bin/mkgeo index 400fff7..e02fbee 100755 --- a/bin/mkgeo +++ b/bin/mkgeo @@ -534,11 +534,7 @@ sub output_server if ($server->{ipv6}) { - my $ipv6 = $server->{ipv6}; - - $ipv6 =~ s/([0-9a-f]{4})(?=.)/$1:/ig; - - $zonefile->printf(" AAAA(\"${name}\", \"${ipv6}\", TTL(\"10m\")),\n", $index + 1); + $zonefile->printf(" AAAA(\"${name}\", \"$server->{ipv6}\", TTL(\"10m\")),\n", $index + 1); } } }