Skip to content

Commit f67eaed

Browse files
feat(PortForward): add 'any' to protocol choices #721
1 parent 34f6acc commit f67eaed

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pfSense-pkg-RESTAPI/files/usr/local/pkg/RESTAPI/Models/PortForward.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ class PortForward extends Model {
6565
);
6666
$this->protocol = new StringField(
6767
required: true,
68-
choices: ['tcp', 'udp', 'tcp/udp', 'icmp', 'esp', 'ah', 'gre', 'ipv6', 'igmp', 'pim', 'ospf'],
68+
choices: ['any', 'tcp', 'udp', 'tcp/udp', 'icmp', 'esp', 'ah', 'gre', 'ipv6', 'igmp', 'pim', 'ospf'],
6969
help_text: 'The IP/transport protocol this port forward rule should match.',
7070
);
7171
$this->source = new FilterAddressField(

0 commit comments

Comments
 (0)