summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2010-02-01 23:11:05 +0000
committerErmal Luçi <eri@pfsense.org>2010-02-01 23:11:05 +0000
commit1b773d206463ec1afaf81df36a7916441c0f6fea (patch)
treea00007abd2c922d2b7a39be6eaef7885d57373a2 /usr/local
parent6c0bf7feb032e57f101c018f2846fc0d48e336a0 (diff)
downloadpfsense-1b773d206463ec1afaf81df36a7916441c0f6fea.zip
pfsense-1b773d206463ec1afaf81df36a7916441c0f6fea.tar.gz
Ticket #329. Use correnct interface API and pass correct arguments to functions.
Diffstat (limited to 'usr/local')
-rwxr-xr-xusr/local/www/interfaces.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr/local/www/interfaces.php b/usr/local/www/interfaces.php
index eed602f..2e0097b 100755
--- a/usr/local/www/interfaces.php
+++ b/usr/local/www/interfaces.php
@@ -213,9 +213,8 @@ $pconfig['mtu'] = $wancfg['mtu'];
/* Wireless interface? */
if (isset($wancfg['wireless'])) {
/* Get wireless modes */
- interface_wireless_clone($if, $wancfg);
- $curif = convert_friendly_interface_to_real_interface_name($if);
$wlanif = get_real_interface($if);
+ interface_wireless_clone($wlanif, $wancfg);
$wl_modes = get_wireless_modes($if);
$pconfig['standard'] = $wancfg['wireless']['standard'];
$pconfig['mode'] = $wancfg['wireless']['mode'];
OpenPOWER on IntegriCloud