[LON-CAPA-cvs] cvs: loncom / lond

harris41 lon-capa-cvs@mail.lon-capa.org
Thu, 07 Feb 2002 10:17:00 -0000


harris41		Thu Feb  7 15:17:00 2002 EDT

  Modified files:              
    /loncom	lond 
  Log:
  no more DOS-formatting and/or extraneous terminal space bugs
  
  
Index: loncom/lond
diff -u loncom/lond:1.68 loncom/lond:1.69
--- loncom/lond:1.68	Wed Feb  6 18:57:37 2002
+++ loncom/lond	Thu Feb  7 15:17:00 2002
@@ -2,7 +2,7 @@
 # The LearningOnline Network
 # lond "LON Daemon" Server (port "LOND" 5663)
 #
-# $Id: lond,v 1.68 2002/02/06 13:57:37 albertel Exp $
+# $Id: lond,v 1.69 2002/02/07 10:17:00 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);
+    chomp($ip); $ip=~s/\D+$//g;
     $hostid{$ip}=$id;
     if ($id eq $perlvar{'lonHostID'}) { $thisserver=$name; }
     $PREFORK++;