--- a/src/usr/local/www/services_wol.php +++ b/src/usr/local/www/services_wol.php @@ -74,6 +74,7 @@ /* normalize MAC addresses - lowercase and convert Windows-ized hyphenated MACs to colon delimited */ $mac = strtolower(str_replace("-", ":", $_POST['mac'])); $if = $_POST['if']; + $descr = $_POST['descr']; } /* input validation */ @@ -86,7 +87,7 @@ } if (!$input_errors) { - send_wol($if, $mac, '', $savemsg, $class); + send_wol($if, $mac, $descr, $savemsg, $class); } } @@ -196,7 +197,7 @@ - + @@ -204,7 +205,7 @@ - +