From 4bbcfd6fa2f250d24f185466f6fac0d84250fd5b Mon Sep 17 00:00:00 2001 From: rettenbe Date: Thu, 28 May 2009 12:52:41 +0000 Subject: [PATCH] bugfix strange remote ip from incoming message host git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13677 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-si/gosa-si-server | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gosa-si/gosa-si-server b/gosa-si/gosa-si-server index 32e99c71a..8a8c11447 100755 --- a/gosa-si/gosa-si-server +++ b/gosa-si/gosa-si-server @@ -3538,8 +3538,7 @@ POE::Component::Server::TCP->new( ClientInput => sub { my ($kernel, $input, $heap, $session) = @_[KERNEL, ARG0, HEAP, SESSION]; my $session_id = $session->ID; - $input =~ /;([\d\.]*:[\d]*)$/ ; - if (defined $1) + if ($input =~ /;([\d\.]+:[\d]+)$/) { &daemon_log("$session_id DEBUG: incoming message from '$1'", 7); } -- 2.30.2