From ea8d005e1ce04326199d1f25998ca389957edd9d Mon Sep 17 00:00:00 2001 From: rettenbe Date: Thu, 11 Sep 2008 14:09:42 +0000 Subject: [PATCH] update: get_hosts_with_module at gosaTriggerd.pm reports results within tags git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12432 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-si/server/events/gosaTriggered.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gosa-si/server/events/gosaTriggered.pm b/gosa-si/server/events/gosaTriggered.pm index f1378b700..fd0cfcc0c 100644 --- a/gosa-si/server/events/gosaTriggered.pm +++ b/gosa-si/server/events/gosaTriggered.pm @@ -1216,7 +1216,7 @@ sub get_hosts_with_module { $out_msg =~ s/<\/xml>/host$hit_id<\/result> <\/xml>/; my $host_infos = "".$hit_hash->{'hostname'}.""; $host_infos .= " ".$hit_hash->{'macaddress'}.""; - $out_msg =~ s/<\/xml>/\n $host_infos <\/host$hit_id> \n <\/xml>/; + $out_msg =~ s/<\/xml>/\n $host_infos <\/answer$hit_id> \n <\/xml>/; } return $out_msg; -- 2.30.2