diff options
Diffstat (limited to 'usr/local/www')
-rwxr-xr-x | usr/local/www/interfaces_wlan.inc | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/usr/local/www/interfaces_wlan.inc b/usr/local/www/interfaces_wlan.inc index f437902..8d78635 100755 --- a/usr/local/www/interfaces_wlan.inc +++ b/usr/local/www/interfaces_wlan.inc @@ -353,6 +353,21 @@ function wireless_config_print() { use "ifconfig interface list channel" to list channels.</td> </tr> <tr> + <td valign="top" class="vncell">Interface capabilities</td> + <?php + if($wancfg['if']) + $if = $lancfg['if']; + if($wancfg['if']) + $if = $lancfg['if']; + if($optcfg['if']) + $if = $optcfg['if']; + $results = `/sbin/ifconfig {$if} list channel`; + ?> + <td class="vtable"><textarea cols="73" rows="3"><?=$results?>;</textarea> + <br/>This is a list of the channels and the capabilities of your card. + </td> + </tr> + <tr> <td valign="top" class="vncell">Distance setting</td> <td class="vtable"><input name="distance" type="text" class="formfld" id="distance" size="5" value="<?=htmlspecialchars($pconfig['distance']);?>"> <br/> @@ -485,19 +500,4 @@ function wireless_config_print() { <br/>Setting this option will enable 802.1x authentication. </td> </tr> - <tr> - <td valign="top" class="vncell">Interface capabilities</td> - <?php - if($wancfg['if']) - $if = $lancfg['if']; - if($wancfg['if']) - $if = $lancfg['if']; - if($optcfg['if']) - $if = $optcfg['if']; - $results = `/sbin/ifconfig {$if} list channel`; - ?> - <td class="vtable"><textarea cols="73" rows="3"><?=$results?>;</textarea> - <br/>This is a list of the channels and the capabilities of your card. - </td> - </tr> <? } ?> |