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

Wolfgang Bumiller w.bumiller at proxmox.com
Wed Mar 2 07:58:16 CET 2016


On Wed, Mar 02, 2016 at 07:21:33AM +0100, Dietmar Maurer wrote:
> > 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() ?

Not really, the documentation just says "address" and not "cidr" after
all.

> Would it help to simply s!::0000/!::/! ?

No, `::0000` was just an example.




More information about the pve-devel mailing list