mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
add a Rescan button. ticket #793
This commit is contained in:
parent
8d6dd2e459
commit
6f87ed4252
@ -77,6 +77,10 @@ foreach($ciflist as $interface => $ifdescr) {
|
||||
$tab_array[] = array("Status ($ifdescr)", $enabled, "status_wireless.php?if={$interface}");
|
||||
}
|
||||
}
|
||||
if($_POST['rescanwifi'] <> "") {
|
||||
$rwlif = get_real_interface($if);
|
||||
mwexec("/sbin/ifconfig {$rwlif} scan 2>&1");
|
||||
}
|
||||
display_top_tabs($tab_array);
|
||||
?>
|
||||
</td></tr>
|
||||
@ -87,6 +91,7 @@ display_top_tabs($tab_array);
|
||||
|
||||
|
||||
/* table header */
|
||||
print "<tr><td colspan=7><b><input type=\"submit\" name=\"rescanwifi\" id=\"disablecarp\" value=\"Rescan\"><br/></td></tr>\n";
|
||||
print "<tr><td colspan=7><b>Nearby access points or ad-hoc peers.<br/></td></tr>\n";
|
||||
print "\n<tr>";
|
||||
print "<tr bgcolor='#990000'>";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user