diff options
author | Erik Fonnesbeck <efonnes@gmail.com> | 2010-08-07 02:49:43 -0600 |
---|---|---|
committer | Erik Fonnesbeck <efonnes@gmail.com> | 2010-08-07 02:52:32 -0600 |
commit | 0bfd0f799c38d84f60f2c615adac200230251127 (patch) | |
tree | 65a65364011e6ef5431926118c087f4999ee18af /usr | |
parent | 2959a19069a7a580e6bb21c6d7040c9f8fb1d8a4 (diff) | |
download | pfsense-0bfd0f799c38d84f60f2c615adac200230251127.zip pfsense-0bfd0f799c38d84f60f2c615adac200230251127.tar.gz |
Enforce the interface selection on associated filter rules. Ticket #780
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/firewall_rules_edit.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/local/www/firewall_rules_edit.php b/usr/local/www/firewall_rules_edit.php index ca4a68f..26ce56a 100755 --- a/usr/local/www/firewall_rules_edit.php +++ b/usr/local/www/firewall_rules_edit.php @@ -517,6 +517,7 @@ if ($_POST) { // If we have an associated nat rule, make sure the source and destination doesn't change if( isset($a_filter[$id]['associated-rule-id']) ) { + $filterent['interface'] = $a_filter[$id]['interface']; $filterent['source'] = $a_filter[$id]['source']; $filterent['destination'] = $a_filter[$id]['destination']; $filterent['associated-rule-id'] = $a_filter[$id]['associated-rule-id']; |