Code

bugfix: gosa-si-server: do not try to reslove ip address "GOSA"
authorrettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 3 Jun 2008 09:08:15 +0000 (09:08 +0000)
committerrettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 3 Jun 2008 09:08:15 +0000 (09:08 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11165 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-si/gosa-si-server

index ae375d7d4368ebbc073a25337b3375483a28dd85..81940ed98bbfae20487b91c3a3977ac1c24a4da3 100755 (executable)
@@ -1069,7 +1069,9 @@ sub msg_to_decrypt {
         $target = @{$msg_hash->{'target'}}[0];
         $source = @{$msg_hash->{'source'}}[0];
         my ($target_ip, $target_port) = split(':', $target);
-        my $server_address = &get_local_ip_for_remote_ip($target_ip).":$server_port";
+               if ($target ne "GOSA") {
+                       my $server_address = &get_local_ip_for_remote_ip($target_ip).":$server_port";
+               }
 
         # target and source is equal to GOSA -> process here
         if (not $done) {