Code

* update Changeset [11484] * wol magic packet with passwd
authorrettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 2 Jul 2008 12:53:05 +0000 (12:53 +0000)
committerrettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 2 Jul 2008 12:53:05 +0000 (12:53 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11510 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-si/server/events/server_server_com.pm

index a7ece3b9830d785c133f7d016d1f11d954867976..819b10be616029d308908a6de67e40fd6191444e 100644 (file)
@@ -237,7 +237,7 @@ sub trigger_wake {
         foreach (split /:/, $hwaddr) {
                 $pkt .= chr(hex($_));
         }
-        $pkt = chr(0xFF) x 6 . $pkt x 16;
+        $pkt = chr(0xFF) x 6 . $pkt x 16 . $main::wake_on_lan_passwd;
 
         # Allocate socket and send packet