Code

bugfix gosa-si-server: sending a message to 'KNOWN_SERVER' succeed now
authorrettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 2 Jun 2008 10:56:30 +0000 (10:56 +0000)
committerrettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 2 Jun 2008 10:56:30 +0000 (10:56 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11141 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-si/gosa-si-server

index d3de39a7fc3c3be1d88979d32edc3708b695c5ce..b153660b8af73568651aac5fae89fdd782a277bf 100755 (executable)
@@ -1330,7 +1330,7 @@ sub process_task {
                     while( my ($hit_num, $hit) = each %{ $query_res } ) {    
                         my $host_name = $hit->{hostname};
                         my $host_key = $hit->{hostkey};
-                        $answer =~ s/<target>KNOWN_SERVER<\/target>/<target>$host_name<\/target>/g;
+                        $answer =~ s/<target>\w+<\/target>/<target>$host_name<\/target>/g;
                         my $error = &send_msg_to_target($answer, $host_name, $host_key, $answer_header, $session_id);
                         &update_jobdb_status_for_send_msgs($answer, $error);
                     }