We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e8000d commit a45a75aCopy full SHA for a45a75a
1 file changed
pfSense-pkg-RESTAPI/files/usr/local/pkg/RESTAPI/Models/PortForward.inc
@@ -209,6 +209,7 @@ class PortForward extends Model {
209
if ($this->associated_rule_id->value and $this->associated_rule_id->value !== 'pass') {
210
$firewall_rule = new FirewallRule(
211
type: 'pass',
212
+ disabled: $this->disabled->value,
213
interface: [$this->interface->value],
214
ipprotocol: $this->ipprotocol->value,
215
protocol: $this->protocol->value,
@@ -250,6 +251,7 @@ class PortForward extends Model {
250
251
$firewall_rule = $rule_q->first();
252
$firewall_rule->from_representation(
253
254
255
256
257
0 commit comments