summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorErik Fonnesbeck <efonnes@gmail.com>2010-07-28 16:18:44 -0600
committerErik Fonnesbeck <efonnes@gmail.com>2010-07-28 16:18:44 -0600
commitebf94efb5c5b79d1aa394ffe8d392c1f1ab64b13 (patch)
treeb1825c4d943308ad1899bb8bda42800b9f4f5f8a /usr
parentf62c44d8ed46f830d6c581e3f3adf1e4f732f4fb (diff)
downloadpfsense-ebf94efb5c5b79d1aa394ffe8d392c1f1ab64b13.zip
pfsense-ebf94efb5c5b79d1aa394ffe8d392c1f1ab64b13.tar.gz
Sync wireless settings first to be sure it displays the actual settings that will be used when the interface is configured.
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/interfaces.php2
1 files changed, 2 insertions, 0 deletions
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))
OpenPOWER on IntegriCloud