Bug in modifyzone.php for IPv6 revzone export

Help
2011-10-10
2013-05-09
  • 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