--- loncom/lonnet/perl/lonnet.pm 2006/09/28 01:42:32 1.782.2.1 +++ loncom/lonnet/perl/lonnet.pm 2006/09/28 18:23:32 1.782.2.2 @@ -1,7 +1,7 @@ # The LearningOnline Network # TCP networking package # -# $Id: lonnet.pm,v 1.782.2.1 2006/09/28 01:42:32 albertel Exp $ +# $Id: lonnet.pm,v 1.782.2.2 2006/09/28 18:23:32 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -7229,7 +7229,7 @@ sub get_iphost { chomp($configline); if ($configline) { my ($host,$type) = split(':',$configline,2); - if ($type eq '') { $type = 'default' }; + if (!defined($type) || $type eq '') { $type = 'default' }; push(@{ $spareid{$type} }, $host); } }