--- loncom/auth/switchserver.pm 2020/12/18 15:23:03 1.52 +++ loncom/auth/switchserver.pm 2021/01/03 23:53:15 1.53 @@ -1,7 +1,7 @@ # The LearningOnline Network # Switch Servers Handler # -# $Id: switchserver.pm,v 1.52 2020/12/18 15:23:03 raeburn Exp $ +# $Id: switchserver.pm,v 1.53 2021/01/03 23:53:15 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -257,7 +257,7 @@ sub handler { $otherbalcookie = $env{'request.balancercookie'}; } - my %info=('ip' => $ENV{'REMOTE_ADDR'}, + my %info=('ip' => $ip, 'domain' => $env{'user.domain'}, 'username' => $env{'user.name'}, 'home' => $env{'user.home'},