diff options
author | Ermal Luçi <eri@pfsense.org> | 2010-02-01 23:11:05 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2010-02-01 23:11:05 +0000 |
commit | 1b773d206463ec1afaf81df36a7916441c0f6fea (patch) | |
tree | a00007abd2c922d2b7a39be6eaef7885d57373a2 /usr/local | |
parent | 6c0bf7feb032e57f101c018f2846fc0d48e336a0 (diff) | |
download | pfsense-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-x | usr/local/www/interfaces.php | 3 |
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']; |