summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system_gateways_edit.php
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2010-01-18 17:55:47 +0000
committerErmal Luçi <eri@pfsense.org>2010-01-18 17:55:47 +0000
commit6a94050a53d095ff44ab8600eb1e114e70514bbe (patch)
tree234619de3aabf0afddde8f69c42a647407769756 /usr/local/www/system_gateways_edit.php
parente90db2b49d76978a5bc1c0639c46cf543993d69a (diff)
downloadpfsense-6a94050a53d095ff44ab8600eb1e114e70514bbe.zip
pfsense-6a94050a53d095ff44ab8600eb1e114e70514bbe.tar.gz
Revert "Ticket #303. The friendly interface is saved on the config and not the real one."
This reverts commit 889cb3241aa6bd192c42147316faf503c559fce2.
Diffstat (limited to 'usr/local/www/system_gateways_edit.php')
-rwxr-xr-xusr/local/www/system_gateways_edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/system_gateways_edit.php b/usr/local/www/system_gateways_edit.php
index d42746e..9b26c9c 100755
--- a/usr/local/www/system_gateways_edit.php
+++ b/usr/local/www/system_gateways_edit.php
@@ -226,7 +226,7 @@ include("head.inc");
<select name="interface" class="formselect">
<?php $interfaces = get_configured_interface_with_descr(false, true);
foreach ($interfaces as $iface => $ifacename): ?>
- <option value="<?=$iface;?>" <?php if ($iface == $pconfig['interface']) echo " selected"; ?>>
+ <option value="<?=$iface;?>" <?php if (get_real_interface($iface) == $pconfig['interface']) echo " selected"; ?>>
<?=htmlspecialchars($ifacename);?>
</option>
iface = <?=$iface?> ; pconfig = <?=$pconfig['interface']?> ; ifacename = <?=$ifacename?>
OpenPOWER on IntegriCloud