diff options
author | Ermal Luçi <eri@pfsense.org> | 2010-01-18 17:01:14 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2010-01-18 17:01:14 +0000 |
commit | 889cb3241aa6bd192c42147316faf503c559fce2 (patch) | |
tree | 559c658c67a17f0f8e77a3c638cc6a7909776939 | |
parent | 51e43abc8da6fc9e2b8802365767052415771ffb (diff) | |
download | pfsense-889cb3241aa6bd192c42147316faf503c559fce2.zip pfsense-889cb3241aa6bd192c42147316faf503c559fce2.tar.gz |
Ticket #303. The friendly interface is saved on the config and not the real one.
-rwxr-xr-x | usr/local/www/system_gateways_edit.php | 2 |
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 9b26c9c..d42746e 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 (get_real_interface($iface) == $pconfig['interface']) echo " selected"; ?>> + <option value="<?=$iface;?>" <?php if ($iface == $pconfig['interface']) echo " selected"; ?>> <?=htmlspecialchars($ifacename);?> </option> iface = <?=$iface?> ; pconfig = <?=$pconfig['interface']?> ; ifacename = <?=$ifacename?> |