summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 37a03f1)
raw | patch | inline | side by side (parent: 37a03f1)
author | rettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 30 Jun 2008 15:12:30 +0000 (15:12 +0000) | ||
committer | rettenbe <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 | patch | blob | history | |
gosa-si/server/events/server_server_com.pm | patch | blob | history |
index 5c377e227bbb4ce4f85850cb8f3764ea3b99ff07..0a49eaf646b573e7c79e5d619c892bc1d08dd5ae 100644 (file)
# 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 8972f97a00aec6fbe3e81decd99b8d0032215101..a7ece3b9830d785c133f7d016d1f11d954867976 100644 (file)
use Data::Dumper;
use GOSA::GosaSupportDaemon;
use Time::HiRes qw( usleep);
+use Socket;
BEGIN {}