5
0
mirror of git://git.proxmox.com/git/pve-firewall.git synced 2025-02-08 09:57:29 +03:00

fix API: property sport/dport requires protocol

This commit is contained in:
Dietmar Maurer 2014-05-21 10:29:06 +02:00
parent 1a9978ed50
commit b1ef6d2e71

View File

@ -915,10 +915,12 @@ my $rule_properties = {
sport => {
type => 'string', format => 'pve-fw-port-spec',
optional => 1,
requires => 'proto',
},
dport => {
type => 'string', format => 'pve-fw-port-spec',
optional => 1,
requires => 'proto',
},
comment => {
type => 'string',