[LON-CAPA-cvs] cvs: loncom / lond
harris41
lon-capa-cvs@mail.lon-capa.org
Thu, 07 Feb 2002 10:22:45 -0000
harris41 Thu Feb 7 15:22:45 2002 EDT
Modified files:
/loncom lond
Log:
hrmm.. no need to be redundant with substituting regex
Index: loncom/lond
diff -u loncom/lond:1.69 loncom/lond:1.70
--- loncom/lond:1.69 Thu Feb 7 15:17:00 2002
+++ loncom/lond Thu Feb 7 15:22:44 2002
@@ -2,7 +2,7 @@
# The LearningOnline Network
# lond "LON Daemon" Server (port "LOND" 5663)
#
-# $Id: lond,v 1.69 2002/02/07 10:17:00 harris41 Exp $
+# $Id: lond,v 1.70 2002/02/07 10:22:44 harris41 Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -136,7 +136,7 @@
while ($configline=<CONFIG>) {
my ($id,$domain,$role,$name,$ip)=split(/:/,$configline);
- chomp($ip); $ip=~s/\D+$//g;
+ chomp($ip); $ip=~s/\D+$//;
$hostid{$ip}=$id;
if ($id eq $perlvar{'lonHostID'}) { $thisserver=$name; }
$PREFORK++;