summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_aliases_edit.php
diff options
context:
space:
mode:
authorr-duran <a.rahman.duran@gmail.com>2012-07-05 12:28:24 +0300
committerr-duran <a.rahman.duran@gmail.com>2012-07-05 12:28:24 +0300
commitdd760cfc67e711273f3f38a51c0f430207ea8d7f (patch)
treeab9efe11d55997d47e56c581ab85fcf8605f294e /usr/local/www/firewall_aliases_edit.php
parentb2b9892dbf3e0f856895fde14b10fe7ba864772e (diff)
downloadpfsense-dd760cfc67e711273f3f38a51c0f430207ea8d7f.zip
pfsense-dd760cfc67e711273f3f38a51c0f430207ea8d7f.tar.gz
Fix hardcodded alias type so alias suggestion works as expected while creating nested aliases.
Diffstat (limited to 'usr/local/www/firewall_aliases_edit.php')
-rwxr-xr-xusr/local/www/firewall_aliases_edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/firewall_aliases_edit.php b/usr/local/www/firewall_aliases_edit.php
index 64b9c56..8b9df48 100755
--- a/usr/local/www/firewall_aliases_edit.php
+++ b/usr/local/www/firewall_aliases_edit.php
@@ -704,7 +704,7 @@ EOD;
typesel_change();
update_box_type();
- var addressarray = <?= json_encode(array_exclude($pconfig['name'], get_alias_list("port"))) ?>;
+ var addressarray = <?= json_encode(array_exclude($pconfig['name'], get_alias_list($pconfig['type']))) ?>;
function createAutoSuggest() {
<?php
OpenPOWER on IntegriCloud