diff options
author | Ermal Luçi <eri@pfsense.org> | 2008-09-03 16:35:19 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2008-09-03 16:35:19 +0000 |
commit | 45335fc4a41c15b9261de60402f474fbb33b1347 (patch) | |
tree | 32077f35ece3c2074182a67a521dba9e2a2c2988 /usr/local/www/interfaces_wan.php | |
parent | c33e18c2320fa8d5ea9310e1964d15861883ff10 (diff) | |
download | pfsense-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_wan.php')
-rwxr-xr-x | usr/local/www/interfaces_wan.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/local/www/interfaces_wan.php b/usr/local/www/interfaces_wan.php index 35d3af3..53befbc 100755 --- a/usr/local/www/interfaces_wan.php +++ b/usr/local/www/interfaces_wan.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> |