From 4b94073c5b43692a6d862046829d90f11416cefb Mon Sep 17 00:00:00 2001 From: rettenbe Date: Mon, 6 Oct 2008 08:21:47 +0000 Subject: [PATCH] bugfix: change !=~ expression to not =~ git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12597 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-si/gosa-si-server | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gosa-si/gosa-si-server b/gosa-si/gosa-si-server index 4f15e34c8..e0c98a709 100755 --- a/gosa-si/gosa-si-server +++ b/gosa-si/gosa-si-server @@ -603,7 +603,7 @@ sub check_outgoing_xml_validity { } # 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+$/) { -- 2.30.2