mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-16 17:44:41 +00:00
firewall: typo in "destination" migration for one-to-one NAT
PR: https://forum.opnsense.org/index.php?topic=41119.0
This commit is contained in:
parent
5b73396f08
commit
6cbd3ca159
@ -82,7 +82,7 @@ class MFP1_0_4 extends BaseModelMigration
|
||||
$node->type = !empty((string)$child->type) ? (string)$child->type : 'binat';
|
||||
$node->external = (string)$child->external;
|
||||
$node->source_net = $addr['source'];
|
||||
$node->destination_net = $addr['source'];
|
||||
$node->destination_net = $addr['destination'];
|
||||
$node->source_not = !empty((string)$child->source->not) ? '1' : '0';
|
||||
$node->destination_not = !empty((string)$child->destination->not) ? '1' : '0';
|
||||
$node->description = (string)$child->descr;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user