From a929fcd53aeeebee451943dd8bdf1a9b541ffb37 Mon Sep 17 00:00:00 2001 From: rettenbe Date: Mon, 30 Jun 2008 15:12:30 +0000 Subject: [PATCH] closes #483 git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11485 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-si/server/events/gosaTriggered.pm | 2 +- gosa-si/server/events/server_server_com.pm | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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 {} -- 2.30.2