mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
os-firewall: fix typo in https://github.com/opnsense/plugins/issues/1720 leading to missing destination ports
This commit is contained in:
+1
-1
@@ -80,7 +80,7 @@ class FilterRuleContainerField extends ContainerField
|
||||
if (!empty((string)$this->destination_not)) {
|
||||
$result['destination']['not'] = true;
|
||||
}
|
||||
if (!empty((string)$this->source_port)) {
|
||||
if (!empty((string)$this->destination_port)) {
|
||||
$result['destination']['port'] = (string)$this->destination_port;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user