From: rettenbe Date: Thu, 28 May 2009 12:52:41 +0000 (+0000) Subject: bugfix strange remote ip from incoming message host X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=4bbcfd6fa2f250d24f185466f6fac0d84250fd5b;p=gosa.git bugfix strange remote ip from incoming message host git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13677 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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); }