From af9d2bdd58e8b70f29c64dbe3aa96c3f1692a18d Mon Sep 17 00:00:00 2001 From: janw Date: Tue, 11 Mar 2008 10:38:34 +0000 Subject: [PATCH] Fixes. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9665 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-si/modules/SIPackages.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gosa-si/modules/SIPackages.pm b/gosa-si/modules/SIPackages.pm index cbd1026ad..099ae2121 100644 --- a/gosa-si/modules/SIPackages.pm +++ b/gosa-si/modules/SIPackages.pm @@ -248,7 +248,7 @@ sub get_interface_for_ip { } else { foreach (@ifs) { my $if=$_; - if(get_ip($if) eq $ip) { + if(&main::get_ip($if) eq $ip) { $result = $if; } } @@ -893,6 +893,8 @@ sub server_matches { if($server_ip eq $target_ip) { $result= 1; + } elsif ($target_ip eq "0.0.0.0") { + $result= 1; } elsif ($server_ip eq "0.0.0.0") { if ($target_ip eq "127.0.0.1") { $result= 1; -- 2.30.2