From a838478dfc1e28efae769c54eed73320ce7f59ea Mon Sep 17 00:00:00 2001 From: lhm-gosa Date: Mon, 16 Mar 2009 19:24:27 +0000 Subject: [PATCH] Fix @13541 - there is no port to check in this function 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trunk/gosa-si/gosa-si-client b/trunk/gosa-si/gosa-si-client index 4d109684f..b6a84898f 100755 --- a/trunk/gosa-si/gosa-si-client +++ b/trunk/gosa-si/gosa-si-client @@ -331,7 +331,7 @@ sub get_local_mac_for_remote_ip { 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; } -- 2.30.2