Code

bugfix: error message for gosa_ping was not gosa-si valid
authorrettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 5 Aug 2008 15:07:05 +0000 (15:07 +0000)
committerrettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 5 Aug 2008 15:07:05 +0000 (15:07 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12158 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-si/server/events/gosaTriggered.pm

index b65319c0bb2ede5074750c26ae5ff0e0e91f21ed..d429ffe7b28baa017e37b066c4e152055b9498d6 100644 (file)
@@ -283,8 +283,10 @@ sub ping {
         $host_key = @{@$res[0]}[2];
     } else {
         &main::daemon_log("$session_id ERROR: cannot determine host_name and host_key from known_clients_db at function ping\n$msg", 1);
-        my %data = ( 'answer_xml'  => 'host not found in known_clients_db' );
-        $answer_msg = &build_msg("got_ping_error", $target, $source, \%data);
+        my %data = ( 'answer_xml'  => 'host not found in known_clients_db',
+                'macaddress' => $target,
+                );
+        $answer_msg = &build_msg("got_ping_error", $main::server_address, $source, \%data);
         $error = 1;
     }