From: lhm-gosa Date: Mon, 16 Mar 2009 19:24:27 +0000 (+0000) Subject: Fix @13541 - there is no port to check in this function X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a838478dfc1e28efae769c54eed73320ce7f59ea;p=gosa.git 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 --- 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; }