From 8acfca38c7d05d10d49fba585bf9305952f31562 Mon Sep 17 00:00:00 2001 From: stompro Date: Fri, 11 Sep 2009 09:36:27 -0500 Subject: 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" --- usr/local/www/services_wol.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr/local/www/services_wol.php') 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}.
"; -- cgit v1.1