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:
parent
1a9978ed50
commit
b1ef6d2e71
@ -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',
|
||||
|
Loading…
x
Reference in New Issue
Block a user