diff options
author | Erik Fonnesbeck <efonnes@gmail.com> | 2010-09-15 23:47:26 -0600 |
---|---|---|
committer | Erik Fonnesbeck <efonnes@gmail.com> | 2010-09-15 23:47:26 -0600 |
commit | 9bc8788aa9eb28c39ce204a51a341b3d5586f3d7 (patch) | |
tree | 6a317db8e92c5dce06d7dc685c86cd81e03fc981 | |
parent | 8735afe8e58e6a8f20f13503ad36e8ab83f1fca4 (diff) | |
download | pfsense-9bc8788aa9eb28c39ce204a51a341b3d5586f3d7.zip pfsense-9bc8788aa9eb28c39ce204a51a341b3d5586f3d7.tar.gz |
Use a list that includes WAN and LAN here rather than only OPT.
-rwxr-xr-x | usr/local/www/firewall_aliases_edit.php | 4 |
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']); |