diff options
author | Ermal Luçi <eri@pfsense.org> | 2009-02-28 19:34:47 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2009-02-28 19:34:47 +0000 |
commit | 81203d1d7454a3fb66d384153064d835c34ebb16 (patch) | |
tree | 872c7d635fccae91374b9d90377955587a2789cb /usr/local/www/system_gateways.php | |
parent | 43d35749e259537d721a5f8d866722557e3d3007 (diff) | |
download | pfsense-81203d1d7454a3fb66d384153064d835c34ebb16.zip pfsense-81203d1d7454a3fb66d384153064d835c34ebb16.tar.gz |
Use the correct interface function.
Diffstat (limited to 'usr/local/www/system_gateways.php')
-rwxr-xr-x | usr/local/www/system_gateways.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/local/www/system_gateways.php b/usr/local/www/system_gateways.php index 3b0cd6c..bb3db24 100755 --- a/usr/local/www/system_gateways.php +++ b/usr/local/www/system_gateways.php @@ -130,7 +130,7 @@ effect.");?><br> <tr> <td class="listlr" ondblclick="document.location='system_gateways_edit.php?id=<?=$i;?>';"> <?php - echo strtoupper($gateway['name']); + echo $gateway['name']; if(isset($gateway['defaultgw'])) { echo " <strong>(default)<strong>"; } @@ -139,8 +139,8 @@ effect.");?><br> </td> <td class="listr" ondblclick="document.location='system_gateways_edit.php?id=<?=$i;?>';"> <?php - $iflabels = get_configured_interface_with_descr(false, true); - echo htmlspecialchars($iflabels[$gateway['interface']]); ?> + echo htmlspecialchars(convert_real_interface_to_friendly_descr($gateway['interface'])); + ?> </td> <td class="listr" ondblclick="document.location='system_gateways_edit.php?id=<?=$i;?>';"> <?php |