summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8adae6c)
raw | patch | inline | side by side (parent: 8adae6c)
author | rettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 1 Oct 2008 13:32:52 +0000 (13:32 +0000) | ||
committer | rettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 1 Oct 2008 13:32:52 +0000 (13:32 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12582 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 f88647f9180005390d323ee48d9850056aa8b5b3..aca15bd76380b7af957048418614f118982523fc 100644 (file)
# build out message
my $out_hash = &create_xml_hash("trigger_wake", "GOSA", "KNOWN_SERVER");
- foreach (@{$msg_hash->{target}}) {
- &add_content2xml_hash($out_hash, 'macAddress', $_);
+ foreach (@{$msg_hash->{'macaddress'}}) {
+ &add_content2xml_hash($out_hash, 'macaddress', $_);
}
my $out_msg = &create_xml_string($out_hash);
diff --git a/gosa-si/server/events/server_server_com.pm b/gosa-si/server/events/server_server_com.pm
index 2fd0f7459c46968c3ce77b70992b862559655a86..a98719038c303ffd3932c219bc3df18efccb39d6 100644 (file)
sub trigger_wake {
my ($msg, $msg_hash, $session_id) = @_ ;
- foreach (@{$msg_hash->{macAddress}}){
+ foreach (@{$msg_hash->{'macaddress'}}){
&main::daemon_log("$session_id INFO: trigger wake for $_", 5);
my $host = $_;
my $ipaddr = '255.255.255.255';