From 3e321df2be59d2bb4c2ffd51e410fe120517e316 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ermal=20Lu=C3=A7i?= Date: Sat, 21 Jun 2008 17:38:13 +0000 Subject: Continue interface improvements --- usr/local/www/system_gateways.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'usr/local/www/system_gateways.php') diff --git a/usr/local/www/system_gateways.php b/usr/local/www/system_gateways.php index 97599b7..b3ac304 100755 --- a/usr/local/www/system_gateways.php +++ b/usr/local/www/system_gateways.php @@ -127,9 +127,7 @@ effect.");?>
'WAN', 'lan' => 'LAN'); - 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[$gateway['interface']]); ?> -- cgit v1.1