Bug in modifyzone.php for IPv6 revzone export
Brought to you by:
richarde
Hi,
I would like to report a small bug in ipplan/user/modifyzone.php, regarding IPv6 treatment.
When I export an IPv6 reverse zone, the xml file generated has incorrectly mounted addresses. The bug is apparently simple (checked the cvs version, and it does the same mistake).
If I have an addres like 1:2:3:4::1/64, the output should be
1:2:3:4 for zone
::1 for ip
The problem is that some counter is wrong, and the last byte from the zone is being included in the ip, so I'm getting the following:
1:2:3:4 for zone
4::1 for IP
Thank you,
Roberto