summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorstompro <gitemail@stompro.org>2009-09-11 09:36:27 -0500
committerstompro <gitemail@stompro.org>2009-09-11 09:36:27 -0500
commit8acfca38c7d05d10d49fba585bf9305952f31562 (patch)
tree2da110374133ad7d11a553fbbbd8d18cca77ecf2 /usr
parent038c8142e5755d7a6979603363e9eb41521c6fc7 (diff)
downloadpfsense-8acfca38c7d05d10d49fba585bf9305952f31562.zip
pfsense-8acfca38c7d05d10d49fba585bf9305952f31562.tar.gz
Fixes error that comes up when wake all is used.
This error was coming up when wake all was used from the services WOL page. "Fatal error: Function name must be a string in /usr/local/www/services_wol.php on line 53"
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/services_wol.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/services_wol.php b/usr/local/www/services_wol.php
index 89c3636..389047a 100755
--- a/usr/local/www/services_wol.php
+++ b/usr/local/www/services_wol.php
@@ -50,7 +50,7 @@ if($_GET['wakeall'] <> "") {
foreach ($a_wol as $wolent) {
$mac = $wolent['mac'];
$if = $wolent['interface'];
- $bcip = gen_subnet_max($get_interface_ip($if),
+ $bcip = gen_subnet_max(get_interface_ip($if),
get_interface_subnet($if));
mwexec("/usr/local/bin/wol -i {$bcip} {$mac}");
$savemsg .= "Sent magic packet to {$mac}.<br>";
OpenPOWER on IntegriCloud