diff options
author | Ermal Luçi <eri@pfsense.org> | 2008-06-21 14:44:30 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2008-06-21 14:44:30 +0000 |
commit | cbe3ea96403e554822bd4675cb5565d20ab55fa7 (patch) | |
tree | c96401ee12ee200acbd111194e108cc6c92b4ac2 /usr/local/www/firewall_nat_out_edit.php | |
parent | 1ad25a3ffbf9ad226d8cb3463ef46c2ff82ad936 (diff) | |
download | pfsense-cbe3ea96403e554822bd4675cb5565d20ab55fa7.zip pfsense-cbe3ea96403e554822bd4675cb5565d20ab55fa7.tar.gz |
Continue interface improvements
Diffstat (limited to 'usr/local/www/firewall_nat_out_edit.php')
-rwxr-xr-x | usr/local/www/firewall_nat_out_edit.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/usr/local/www/firewall_nat_out_edit.php b/usr/local/www/firewall_nat_out_edit.php index 66f7763..f032cfc 100755 --- a/usr/local/www/firewall_nat_out_edit.php +++ b/usr/local/www/firewall_nat_out_edit.php @@ -301,10 +301,7 @@ function sourcesel_change() { <td width="78%" class="vtable"> <select name="interface" class="formselect"> <?php - $interfaces = array('wan' => 'WAN', 'lan' => 'LAN'); - for ($i = 1; isset($config['interfaces']['opt' . $i]); $i++) { - $interfaces['opt' . $i] = $config['interfaces']['opt' . $i]['descr']; - } + $interfaces = get_configured_interface_with_descr(false, true); foreach ($interfaces as $iface => $ifacename): ?> <option value="<?=$iface;?>" <?php if ($iface == $pconfig['interface']) echo "selected"; ?>> <?=htmlspecialchars($ifacename);?> |