Diff for /loncom/lonnet/perl/lonnet.pm between versions 1.782.2.1 and 1.782.2.2

version 1.782.2.1, 2006/09/28 01:42:32 version 1.782.2.2, 2006/09/28 18:23:32
Line 7229  sub get_iphost { Line 7229  sub get_iphost {
        chomp($configline);         chomp($configline);
        if ($configline) {         if ($configline) {
    my ($host,$type) = split(':',$configline,2);     my ($host,$type) = split(':',$configline,2);
    if ($type eq '') { $type = 'default' };     if (!defined($type) || $type eq '') { $type = 'default' };
    push(@{ $spareid{$type} }, $host);     push(@{ $spareid{$type} }, $host);
        }         }
     }      }

Removed from v.1.782.2.1  
changed lines
  Added in v.1.782.2.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>