--- loncom/auth/lonstatusacc.pm 2009/06/13 20:28:56 1.7 +++ loncom/auth/lonstatusacc.pm 2020/12/18 15:23:03 1.8 @@ -1,7 +1,7 @@ # # LON-CAPA authorization for pages generated by server-status reports # -# $Id: lonstatusacc.pm,v 1.7 2009/06/13 20:28:56 raeburn Exp $ +# $Id: lonstatusacc.pm,v 1.8 2020/12/18 15:23:03 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -38,7 +38,7 @@ use LONCAPA::lonauthcgi; sub handler { my $r = shift; - my $reqhost = $r->get_remote_host(REMOTE_NOLOOKUP); + my $reqhost = &Apache::lonnet::get_requestor_ip($r,REMOTE_NOLOOKUP); my $page = 'server-status'; if (($r->uri eq '/adm/domainstatus') || ($r->uri eq '/adm/test')) {