summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik Fonnesbeck <efonnes@gmail.com>2010-09-15 23:47:26 -0600
committerErik Fonnesbeck <efonnes@gmail.com>2010-09-15 23:47:26 -0600
commit9bc8788aa9eb28c39ce204a51a341b3d5586f3d7 (patch)
tree6a317db8e92c5dce06d7dc685c86cd81e03fc981
parent8735afe8e58e6a8f20f13503ad36e8ab83f1fca4 (diff)
downloadpfsense-9bc8788aa9eb28c39ce204a51a341b3d5586f3d7.zip
pfsense-9bc8788aa9eb28c39ce204a51a341b3d5586f3d7.tar.gz
Use a list that includes WAN and LAN here rather than only OPT.
-rwxr-xr-xusr/local/www/firewall_aliases_edit.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/firewall_aliases_edit.php b/usr/local/www/firewall_aliases_edit.php
index 3cadc3f..457198c 100755
--- a/usr/local/www/firewall_aliases_edit.php
+++ b/usr/local/www/firewall_aliases_edit.php
@@ -98,8 +98,8 @@ if (isset($id) && $a_aliases[$id]) {
$pconfig['type'] = $a_aliases[$id]['type'];
$pconfig['descr'] = html_entity_decode($a_aliases[$id]['descr']);
- /* optional if list */
- $iflist = get_configured_interface_with_descr(true, true);
+ /* interface list */
+ $iflist = get_configured_interface_with_descr(false, true);
foreach ($iflist as $if => $ifdesc)
if($ifdesc == $pconfig['descr'])
$input_errors[] = sprintf(gettext("Sorry, an interface is already named %s."), $pconfig['descr']);
OpenPOWER on IntegriCloud