]> git.proxmox.com Git - pve-firewall.git/commit - src/PVE/Firewall.pm
parse_address_list: only allow one ip range
authorDietmar Maurer <dietmar@proxmox.com>
Thu, 3 Apr 2014 07:25:28 +0000 (09:25 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 3 Apr 2014 07:25:28 +0000 (09:25 +0200)
commit3162af6b6288fdf740f6808421ad1ebc7993784c
tree05b396204bcbc2650db7cb62b576d70ccc3deabb
parentcbb5d6f35612337edbb6d2bb0aa18028dd07fe9f
parse_address_list: only allow one ip range

The previous check did not work if the range is the first entry in the list,
for example:

IN  ACCEPT net0 10.0.0.1-10.0.0.10,10.0.0.12
src/PVE/Firewall.pm