opennetadmin / ona

OpenNetAdmin IP Address Management (IPAM) system
opennetadmin.com
GNU General Public License v2.0
142 stars 35 forks source link

IPv6 leading zero issues #83

Open mattpascoe opened 10 years ago

mattpascoe commented 10 years ago

It looks like there are some issues with the way the ipv6 code.

Below are some example IPs that did not have a proper removal of leading zeros

2a01:1e8:e100:82c3::4 /64
2a01:01e8:e100:82c3:020a:e4ff:fe8b:7023 /64 fd07:c75d:40e2:1::4 /64 fd07:c75d:40e2:0001:020a:e4ff:fe8b:7023 /64

initially reported by @raabf