parse_port_name_number_or_range fix range check
authorAlexandre Derumier <aderumier@odiso.com>
Tue, 25 Feb 2014 08:44:53 +0000 (09:44 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 25 Feb 2014 09:23:01 +0000 (10:23 +0100)
commit35b66e9d6bd3243b3afd979b3305e7c9e5f48c57
tree2ad3fd6c3dc8c9778599e3c7ca8d9218ca7a2144
parentfadb13dd4f19db7023172a43a73b34fea132eddc
parse_port_name_number_or_range fix range check

for port range  a:b,

we need to check that b > a

this kind of range is invalid

80:22
80:ssh
http:ssh

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
PVE/Firewall.pm