Code

bugfix: get_hosts_with_module at gosaTriggered.pm add localhost witch correct xml tag
authorrettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 12 Sep 2008 07:49:53 +0000 (07:49 +0000)
committerrettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 12 Sep 2008 07:49:53 +0000 (07:49 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12438 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-si/server/events/gosaTriggered.pm

index fd0cfcc0c7bb4dbe9d0c6a79dfee74061a9106b7..d49a4a381ebcb5404d9b4529026e0bbeb73d3aac 100644 (file)
@@ -1203,7 +1203,7 @@ sub get_hosts_with_module {
         my ($local_ip, $local_port) = split(/:/, $target);
         my $network_interface= &get_interface_for_ip($local_ip);
         my $local_mac = &get_mac_for_interface($network_interface);
-        &add_content2xml_hash($out_hash, "host", $local_mac);
+        &add_content2xml_hash($out_hash, "answer0", $local_mac);
     }