|
Message
From: cvs at opencores.org<cvs@o...>
Date: Wed Jan 24 20:33:24 CET 2007
Subject: [cvs-checkins] MODIFIED: jop ...
Date: 00/07/01 24:20:33 Modified: jop/java/target/src/common/ejip Loopback.java Log: use LinkLayer.ip Revision Changes Path 1.2 jop/java/target/src/common/ejip/Loopback.java http://www.opencores.org/cvsweb.shtml/jop/java/target/src/common/ejip/Loopback.java.diff?r1=1.1&r2=1.2 (In the diff below, changes in quantity of whitespace are not shown.) Index: Loopback.java =================================================================== RCS file: /cvsroot/martin/jop/java/target/src/common/ejip/Loopback.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -b -r1.1 -r1.2 --- Loopback.java 11 May 2005 16:31:16 -0000 1.1 +++ Loopback.java 24 Jan 2007 19:33:24 -0000 1.2 @@ -45,10 +45,6 @@ private static final int MAX_BUF = 1500; // or should we use 1006 -/** -* ip address. -*/ - private static int ip; /** * The one and only reference to this object. @@ -66,11 +62,11 @@ */ public static LinkLayer init() { - ip = (127<<24) + (0<<16) + (0<<8) + 1; if (single != null) return single; // allready called init() single = new Loopback(); + single.ip = (127<<24) + (0<<16) + (0<<8) + 1; return single; }
|
 |