--- loncom/lond 2007/03/28 22:27:51 1.366 +++ loncom/lond 2007/03/28 22:46:44 1.367 @@ -2,7 +2,7 @@ # The LearningOnline Network # lond "LON Daemon" Server (port "LOND" 5663) # -# $Id: lond,v 1.366 2007/03/28 22:27:51 albertel Exp $ +# $Id: lond,v 1.367 2007/03/28 22:46:44 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.366 $'; #' stupid emacs +my $VERSION='$Revision: 1.367 $'; #' stupid emacs my $remoteVERSION; my $currenthostid="default"; my $currentdomainid; @@ -5556,12 +5556,8 @@ sub make_new_child { if ($clientok) { # ---------------- New known client connecting, could mean machine online again - foreach my $id (keys(%hostip)) { - if ($hostip{$id} ne $clientip || - $hostip{$currenthostid} eq $clientip) { - # no need to try to do recon's to myself - next; - } + if ($hostip{$currenthostid} ne $clientip + && $clientip ne '127.0.0.1') { &Apache::lonnet::reconlonc(); } &logthis("Established connection: $clientname");