voxpupuli / puppet-firewalld

Puppet module for managing firewalld
Apache License 2.0
40 stars 77 forks source link

/32 is incorrectly stripped from IPv6 networks #287

Open LionelCons opened 4 years ago

LionelCons commented 4 years ago

The firewalld_ipset type strips /32 suffixes from addresses it sees. This is fine for IPv4 but not for IPv6. /32 should only be stripped for IPv4 addresses.

FWIW, this bug is similar to https://github.com/voxpupuli/puppet-ipset/issues/30.