Commit b1632ad4 authored by Clément OUDOT's avatar Clément OUDOT

Fix test for client_ip/remote_ip (#LEMONLDAP-1027)

git-svn-id: svn://svn.forge.objectweb.org/svnroot/lemonldap/branches/lemonldap-ng_version_1_4-bugfixes@5130 1dbb9719-a921-0410-b57f-c3a383c2c641
parent 5c9efc8f
......@@ -31,7 +31,7 @@ use constant MAINTENANCE_CODE => 503;
#inherits Apache::Session
#link Lemonldap::NG::Common::Apache::Session::SOAP protected globalStorage
our $VERSION = '1.4.1';
our $VERSION = '1.4.9';
our %EXPORT_TAGS;
......@@ -414,7 +414,7 @@ sub ip {
$ip =
( MP() == 2 )
? (
Apache::Connection->can('remote_ip')
Apache2::Connection->can('remote_ip')
? $apacheRequest->connection->remote_ip
: $apacheRequest->connection->client_ip
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment