]> git.proxmox.com Git - pve-firewall.git/commit - src/PVE/Firewall.pm
local_network: ipv6 support + correctness
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 28 Jul 2015 06:46:05 +0000 (08:46 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 28 Jul 2015 07:20:33 +0000 (09:20 +0200)
commit5dc356afae7774e53e2a8389b09f2916d1362c9b
treed9ab65d84a0fad0aa278c4a898f5f92a31156886
parentab03c1a7537dcd14013a59ec86cdef6cfc696b23
local_network: ipv6 support + correctness

Net::IP->overlaps returns more than just true or false, as
it tests both directions, we need IP_B_IN_A_OVERLAP in our
test.
Removed return on mask eq '0.0.0.0' as this doesn't exist in
the $ipv4_mask_hash_localnet.
src/PVE/Firewall.pm