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:
Franco Fichtner 2024-06-19 20:06:52 +02:00
parent 5b73396f08
commit 6cbd3ca159

View File

@ -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;