summaryrefslogtreecommitdiffstats
path: root/usr/local/www/interfaces.php
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2008-09-03 16:35:19 +0000
committerErmal Luçi <eri@pfsense.org>2008-09-03 16:35:19 +0000
commit45335fc4a41c15b9261de60402f474fbb33b1347 (patch)
tree32077f35ece3c2074182a67a521dba9e2a2c2988 /usr/local/www/interfaces.php
parentc33e18c2320fa8d5ea9310e1964d15861883ff10 (diff)
downloadpfsense-45335fc4a41c15b9261de60402f474fbb33b1347.zip
pfsense-45335fc4a41c15b9261de60402f474fbb33b1347.tar.gz
Hopefully fix wirless configuration issues on GUI part since the wireless code requests an optcfg array as global which was removed with multi pppoe/pptp/... fixes. Pass the required array as a parameter to the wireless code to avoid further breakage while fixing other code.
Diffstat (limited to 'usr/local/www/interfaces.php')
-rwxr-xr-xusr/local/www/interfaces.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/local/www/interfaces.php b/usr/local/www/interfaces.php
index 35d3af3..53befbc 100755
--- a/usr/local/www/interfaces.php
+++ b/usr/local/www/interfaces.php
@@ -183,7 +183,7 @@ $pconfig['mtu'] = $wancfg['mtu'];
/* Wireless interface? */
if (isset($wancfg['wireless'])) {
require("interfaces_wlan.inc");
- wireless_config_init();
+ wireless_config_init($wancfg);
}
if ($_POST) {
@@ -340,7 +340,7 @@ n already exists.";
/* Wireless interface? */
if (isset($wancfg['wireless'])) {
- $wi_input_errors = wireless_config_post();
+ $wi_input_errors = wireless_config_post($wancfg);
if ($wi_input_errors) {
$input_errors = array_merge($input_errors, $wi_input_errors);
}
@@ -1017,7 +1017,7 @@ seconds<br>If no qualifying outgoing packets are transmitted for the specified n
<?php
/* Wireless interface? */
if (isset($wancfg['wireless']))
- wireless_config_print();
+ wireless_config_print($wancfg);
?>
<tr>
<td height="16" colspan="2" valign="top"></td>
OpenPOWER on IntegriCloud