Code

closes #483
authorrettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 30 Jun 2008 15:12:30 +0000 (15:12 +0000)
committerrettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 30 Jun 2008 15:12:30 +0000 (15:12 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11485 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-si/server/events/gosaTriggered.pm
gosa-si/server/events/server_server_com.pm

index 5c377e227bbb4ce4f85850cb8f3764ea3b99ff07..0a49eaf646b573e7c79e5d619c892bc1d08dd5ae 100644 (file)
@@ -658,7 +658,7 @@ sub trigger_action_wake {
 
     # build out message
     my $out_hash = &create_xml_hash("trigger_wake", "GOSA", "KNOWN_SERVER");
-    &add_content2xml_hash($out_hash, 'macAddress', $msg_hash->{macaddress}); 
+    &add_content2xml_hash($out_hash, 'macAddress', @{$msg_hash->{macaddress}}[0]); 
     my $out_msg = &create_xml_string($out_hash);
     
     # invoke trigger wake for this gosa-si-server
index 8972f97a00aec6fbe3e81decd99b8d0032215101..a7ece3b9830d785c133f7d016d1f11d954867976 100644 (file)
@@ -14,6 +14,7 @@ use warnings;
 use Data::Dumper;
 use GOSA::GosaSupportDaemon;
 use Time::HiRes qw( usleep);
+use Socket;
 
 
 BEGIN {}