summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6b3cb01)
raw | patch | inline | side by side (parent: 6b3cb01)
author | rettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 6 Oct 2008 08:21:47 +0000 (08:21 +0000) | ||
committer | rettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 6 Oct 2008 08:21:47 +0000 (08:21 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12597 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-si/gosa-si-server | patch | blob | history |
diff --git a/gosa-si/gosa-si-server b/gosa-si/gosa-si-server
index 4f15e34c8f83f3771b5d43726ee2a55f7900d290..e0c98a709bc1ac622436b37aa2662d207deb066e 100755 (executable)
--- a/gosa-si/gosa-si-server
+++ b/gosa-si/gosa-si-server
}
# Check if source contains hostname instead of ip address
- if($source !=~ /^[a-z0-9\.]+:\d+$/i) {
+ if(not $source =~ /^[a-z0-9\.]+:\d+$/i) {
my ($hostname,$port) = split(/:/, $source);
my $ip_address = inet_ntoa(scalar gethostbyname($hostname));
if(defined($ip_address) && $ip_address =~ /^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}/ && $port =~ /^\d+$/) {