From: rettenbe Date: Mon, 30 Jun 2008 15:12:30 +0000 (+0000) Subject: closes #483 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a929fcd53aeeebee451943dd8bdf1a9b541ffb37;p=gosa.git closes #483 git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11485 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-si/server/events/gosaTriggered.pm b/gosa-si/server/events/gosaTriggered.pm index 5c377e227..0a49eaf64 100644 --- a/gosa-si/server/events/gosaTriggered.pm +++ b/gosa-si/server/events/gosaTriggered.pm @@ -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 diff --git a/gosa-si/server/events/server_server_com.pm b/gosa-si/server/events/server_server_com.pm index 8972f97a0..a7ece3b98 100644 --- a/gosa-si/server/events/server_server_com.pm +++ b/gosa-si/server/events/server_server_com.pm @@ -14,6 +14,7 @@ use warnings; use Data::Dumper; use GOSA::GosaSupportDaemon; use Time::HiRes qw( usleep); +use Socket; BEGIN {}