[LON-CAPA-cvs] cvs: loncom /lonnet/perl lonnet.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Sat, 03 Mar 2007 02:11:00 -0000
albertel Fri Mar 2 21:11:00 2007 EDT
Modified files:
/loncom/lonnet/perl lonnet.pm
Log:
- need to make it an exact match
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.842 loncom/lonnet/perl/lonnet.pm:1.843
--- loncom/lonnet/perl/lonnet.pm:1.842 Fri Mar 2 20:54:13 2007
+++ loncom/lonnet/perl/lonnet.pm Fri Mar 2 21:10:59 2007
@@ -1,7 +1,7 @@
# The LearningOnline Network
# TCP networking package
#
-# $Id: lonnet.pm,v 1.842 2007/03/03 01:54:13 albertel Exp $
+# $Id: lonnet.pm,v 1.843 2007/03/03 02:10:59 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -7623,7 +7623,7 @@
my %result;
if (ref($domain) eq 'ARRAY') {
while ( my ($host,$hostname) = each(%possible_hosts)) {
- if (grep(/\Q$hostdom{$host}\E/,@$domain)) {
+ if (grep(/^\Q$hostdom{$host}\E$/,@$domain)) {
$result{$host} = $hostname;
}
}