summaryrefslogtreecommitdiffstats
path: root/usr/local/www/interfaces_wan.php
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www/interfaces_wan.php')
-rwxr-xr-xusr/local/www/interfaces_wan.php6
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>
OpenPOWER on IntegriCloud