--- loncom/lond 2007/04/03 00:49:55 1.368 +++ loncom/lond 2007/04/04 00:02:50 1.369 @@ -2,7 +2,7 @@ # The LearningOnline Network # lond "LON Daemon" Server (port "LOND" 5663) # -# $Id: lond,v 1.368 2007/04/03 00:49:55 albertel Exp $ +# $Id: lond,v 1.369 2007/04/04 00:02:50 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -59,7 +59,7 @@ my $DEBUG = 0; # Non zero to ena my $status=''; my $lastlog=''; -my $VERSION='$Revision: 1.368 $'; #' stupid emacs +my $VERSION='$Revision: 1.369 $'; #' stupid emacs my $remoteVERSION; my $currenthostid="default"; my $currentdomainid; @@ -6174,7 +6174,7 @@ sub sethost { if (&Apache::lonnet::get_host_ip($perlvar{'lonHostID'}) eq &Apache::lonnet::get_host_ip($hostid)) { $currenthostid =$hostid; - $currentdomainid=&Apache::lonnet::domain($hostid); + $currentdomainid=&Apache::lonnet::host_domain($hostid); &logthis("Setting hostid to $hostid, and domain to $currentdomainid"); } else { &logthis("Requested host id $hostid not an alias of ".