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