summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d23346e)
raw | patch | inline | side by side (parent: d23346e)
author | lhm-gosa <lhm-gosa@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 16 Mar 2009 19:24:27 +0000 (19:24 +0000) | ||
committer | lhm-gosa <lhm-gosa@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 16 Mar 2009 19:24:27 +0000 (19:24 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13548 594d385d-05f5-0310-b6e9-bd551577e9d8
trunk/gosa-si/gosa-si-client | patch | blob | history |
index 4d109684f37373877307f7613457f0acda37d2ac..b6a84898f79776247c7154c2bb95e80339cfc835 100755 (executable)
if($server_ip =~ /^[a-z][a-z0-9\.]$/i) {
my $ip_address = inet_ntoa(scalar gethostbyname($server_ip));
- if(defined($ip_address) && $ip_address =~ /^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}/ && $port =~ /^\d+$/) {
+ if(defined($ip_address) && $ip_address =~ /^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}/) {
# Write ip address to $server_ip variable
$server_ip = $ip_address;
}