]> git.proxmox.com Git - pve-firewall.git/commit
fix ipv6 address normalization
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 28 Jul 2015 06:46:04 +0000 (08:46 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 28 Jul 2015 07:20:01 +0000 (09:20 +0200)
commitab03c1a7537dcd14013a59ec86cdef6cfc696b23
treea28ad1edb9427026823d4df9af5d8ce7a90c348f
parent8feec9fa3463566565a5c026560c9bd345794e0c
fix ipv6 address normalization

inet_ntop only takes an addres, not a CIDR notation. Since
the normalized address should just be a compressed
lower-case address, Net::IP::ip_compress_address should be
sufficient.

inet_ntop didn't succeed before, the result of which was
that ipsets weren't generated at all for ipv6 address ranges.
src/PVE/Firewall.pm