--- loncom/Attic/lonc 2002/02/19 21:49:12 1.27 +++ loncom/Attic/lonc 2002/02/19 22:51:13 1.28 @@ -5,7 +5,7 @@ # provides persistent TCP connections to the other servers in the network # through multiplexed domain sockets # -# $Id: lonc,v 1.27 2002/02/19 21:49:12 www Exp $ +# $Id: lonc,v 1.28 2002/02/19 22:51:13 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -160,8 +160,10 @@ open (CONFIG,"$perlvar{'lonTabDir'}/host while ($configline=) { my ($id,$domain,$role,$name,$ip)=split(/:/,$configline); chomp($ip); - $hostip{$id}=$ip; - $hostname{$id}=$name; + if ($ip) { + $hostip{$id}=$ip; + $hostname{$id}=$name; + } } close(CONFIG);