diff options
Diffstat (limited to 'usr/local/www/services_proxyarp.php')
-rwxr-xr-x | usr/local/www/services_proxyarp.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr/local/www/services_proxyarp.php b/usr/local/www/services_proxyarp.php index 037325f..601f086 100755 --- a/usr/local/www/services_proxyarp.php +++ b/usr/local/www/services_proxyarp.php @@ -88,9 +88,8 @@ include("head.inc"); <td class="listlr" ondblclick="document.location='services_proxyarp_edit.php?id=<?=$i;?>';"> <?php if ($arpent['interface']) { - $iflabels = array('lan' => 'LAN', 'wan' => 'WAN'); - for ($j = 1; isset($config['interfaces']['opt' . $j]); $j++) - $iflabels['opt' . $j] = $config['interfaces']['opt' . $j]['descr']; + $iflabels = get_configured_interface_with_descr(); + echo htmlspecialchars($iflabels[$arpent['interface']]); } else { echo "WAN"; |