From ebf94efb5c5b79d1aa394ffe8d392c1f1ab64b13 Mon Sep 17 00:00:00 2001 From: Erik Fonnesbeck Date: Wed, 28 Jul 2010 16:18:44 -0600 Subject: Sync wireless settings first to be sure it displays the actual settings that will be used when the interface is configured. --- usr/local/www/interfaces.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'usr/local') diff --git a/usr/local/www/interfaces.php b/usr/local/www/interfaces.php index 8822262..d1f82cd 100755 --- a/usr/local/www/interfaces.php +++ b/usr/local/www/interfaces.php @@ -215,6 +215,8 @@ $pconfig['mtu'] = $wancfg['mtu']; /* Wireless interface? */ if (isset($wancfg['wireless'])) { + /* Sync first to be sure it displays the actual settings that will be used */ + interface_sync_wireless_clones($wancfg, false); /* Get wireless modes */ $wlanif = get_real_interface($if); if (!does_interface_exist($wlanif)) -- cgit v1.1