Code

bugfix: gosa-si-server adapted to new to modified dns function
authorrettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 1 Sep 2008 11:53:10 +0000 (11:53 +0000)
committerrettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 1 Sep 2008 11:53:10 +0000 (11:53 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12327 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-si/gosa-si-server

index bb6c6e8816132dcb7c8883da00f54a0ca4f8483b..9d0f7ad9935303f3d141d8cb1486d9942fe25890 100755 (executable)
@@ -3114,9 +3114,9 @@ if ( !$server_domain) {
     # Try our DNS Searchlist
     for my $domain(get_dns_domains()) {
         chomp($domain);
-        my @tmp_domains= &get_server_addresses($domain);
-        if(@tmp_domains) {
-            for my $tmp_server(@tmp_domains) {
+        my ($tmp_domains, $error_string) = &get_server_addresses($domain);
+        if(@$tmp_domains) {
+            for my $tmp_server(@$tmp_domains) {
                 push @tmp_servers, $tmp_server;
             }
         }