mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Include a tracker ID in new associated firewall rules.
This commit is contained in:
parent
1c1ca39bd5
commit
0d14e2ac8e
@ -491,6 +491,7 @@ if ($_POST) {
|
||||
// If this is a new rule, create an ID and add the rule
|
||||
if ($_POST['filter-rule-association'] == 'add-associated') {
|
||||
$filterent['associated-rule-id'] = $natent['associated-rule-id'] = get_unique_id();
|
||||
$filterent['tracker'] = (int)microtime(true);
|
||||
$filterent['created'] = make_config_revision_entry(null, gettext("NAT Port Forward"));
|
||||
$config['filter']['rule'][] = $filterent;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user