summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c96bbd3)
raw | patch | inline | side by side (parent: c96bbd3)
author | rettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 2 Sep 2008 13:18:34 +0000 (13:18 +0000) | ||
committer | rettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 2 Sep 2008 13:18:34 +0000 (13:18 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12345 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-si/server/events/gosaTriggered.pm | patch | blob | history |
index fc1a84d5981afc1e5e2dabab05a03146a612594b..1e3b3c4ead9250079e838ac5d71fca1516f12562 100644 (file)
}
# Check localhost for module_name
- if (exists %{@{$main::known_modules->{'GosaPackages'}}[2]}->{$module_name}) {
+ if (exists @{$main::known_modules->{'GosaPackages'}}[2]->{$module_name}) {
my ($remote_ip, $remote_port) = split(/:/, $source);
my $local_mac = &get_local_mac_for_remote_ip($remote_ip);
&add_content2xml_hash($out_hash, "host", $local_mac);
my $sql = "SELECT * FROM $main::known_server_tn WHERE loaded_modules LIKE '%$module_name%'";
my $res = $main::known_server_db->select_dbentry($sql);
while (my ($hit_id, $hit_hash) = each %$res) {
- &add_content2xml_hash($out_hash, "host", %$hit_hash->{'macaddress'});
+ &add_content2xml_hash($out_hash, "host", $hit_hash->{'macaddress'});
}
return (&create_xml_string($out_hash));