diff options
author | Ermal <eri@pfsense.org> | 2011-02-08 22:28:23 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2011-02-08 22:28:23 +0000 |
commit | 36d6af4399089ea910befb6e5b29b894ae4c50cd (patch) | |
tree | 4ce730bc21a740b3bc7b30d2e96dc53791227406 /usr/local/www | |
parent | c3606a3b47230707d1a793ead4837822a183d392 (diff) | |
download | pfsense-36d6af4399089ea910befb6e5b29b894ae4c50cd.zip pfsense-36d6af4399089ea910befb6e5b29b894ae4c50cd.tar.gz |
Resolves #1224. Correctly change name on port alias in firewall rules if the alias name changes.
Diffstat (limited to 'usr/local/www')
-rwxr-xr-x | usr/local/www/firewall_aliases_edit.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/local/www/firewall_aliases_edit.php b/usr/local/www/firewall_aliases_edit.php index 3710644..7307366 100755 --- a/usr/local/www/firewall_aliases_edit.php +++ b/usr/local/www/firewall_aliases_edit.php @@ -295,6 +295,8 @@ if ($_POST) { // Firewall rules update_alias_names_upon_change('filter', 'rule', 'source', 'address', $_POST['name'], $origname); update_alias_names_upon_change('filter', 'rule', 'destination', 'address', $_POST['name'], $origname); + update_alias_names_upon_change('filter', 'rule', 'source', 'port', $_POST['name'], $origname); + update_alias_names_upon_change('filter', 'rule', 'destination', 'port', $_POST['name'], $origname); // NAT Rules update_alias_names_upon_change('nat', 'rule', 'source', 'address', $_POST['name'], $origname); update_alias_names_upon_change('nat', 'rule', 'source', 'port', $_POST['name'], $origname); |