[pve-devel] [PATCH firewall 2/7] ipv6: fix ip_compress_address_call

Dietmar Maurer dietmar at proxmox.com
Wed Mar 2 07:21:33 CET 2016


> This only takes an address and not a CIDR notation. It does
> preserve the suffix but ended up compressing
> fc00:0000::0000/64 to fc00::0000/64 instead of fc00::/64 and
> thus caused the firewall to always show there are pending
> changes when ipv6 addresses were available.

So this is a bug in Net::IP::ip_compress_address() ?
Would it help to simply s!::0000/!::/! ?




More information about the pve-devel mailing list