summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: bf11f7a)
raw | patch | inline | side by side (parent: bf11f7a)
author | janw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 11 Mar 2008 10:38:34 +0000 (10:38 +0000) | ||
committer | janw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 11 Mar 2008 10:38:34 +0000 (10:38 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9665 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-si/modules/SIPackages.pm | patch | blob | history |
index cbd1026ad6201c2f275dd73198f9a1266ca83f58..099ae2121b449bfd32c8bd2d0266577e74064ca6 100644 (file)
} else {
foreach (@ifs) {
my $if=$_;
- if(get_ip($if) eq $ip) {
+ if(&main::get_ip($if) eq $ip) {
$result = $if;
}
}
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;