You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl-cvs@perl.apache.org by jk...@apache.org on 2013/02/20 15:53:11 UTC

svn commit: r1448202 - /perl/modperl/branches/httpd24/lib/Apache2/compat.pm

Author: jkaluza
Date: Wed Feb 20 14:53:10 2013
New Revision: 1448202

URL: http://svn.apache.org/r1448202
Log:
* lib/Apache2/compat.pm: Use client_ip/client_addr instead of
  remote_ip/remote_addr

Modified:
    perl/modperl/branches/httpd24/lib/Apache2/compat.pm

Modified: perl/modperl/branches/httpd24/lib/Apache2/compat.pm
URL: http://svn.apache.org/viewvc/perl/modperl/branches/httpd24/lib/Apache2/compat.pm?rev=1448202&r1=1448201&r2=1448202&view=diff
==============================================================================
--- perl/modperl/branches/httpd24/lib/Apache2/compat.pm (original)
+++ perl/modperl/branches/httpd24/lib/Apache2/compat.pm Wed Feb 20 14:53:10 2013
@@ -149,7 +149,7 @@ EOI
     require Apache2::Connection;
     require APR::SockAddr;
     require Socket;
-    my $orig_sub = *Apache2::Connection::remote_addr{CODE};
+    my $orig_sub = *Apache2::Connection::client_addr{CODE};
     *Apache2::Connection::remote_addr = sub {
         my $c = shift;
         if (@_) {