LOGIN   :::   RECOVER PASS   :::   GET ACCOUNT    
Browse
  • Projects
  • Code (CVS)
  • Forums
  • News
  • Articles
  • Polls
  •  
    OpenCores
  • FAQ
  • CVS HowTo
  • Mission
  • Media
  • Tools
  • Advertise
  • Mirrors
  • Logos
  • Contact us
  • Job Opportunity
  •  
    Tools
  • Search
      
  • Download Cores (CVSGet)
  •  
    More
  • Wishbone
  • Perlilog
  • EDA tools
  • OpenTech CD
  •  
    Navigation: All forums > Cvs-checkins > Message List > Message Post

    Message

    Reply | Reply all
    Date Prev | Date Next | Thread Prev | Thread Next Date Index | Thread Index

    From: cvs at opencores.org<cvs@o...>
    Date: Wed Jan 24 20:33:24 CET 2007
    Subject: [cvs-checkins] MODIFIED: jop ...
    Top
    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;
    }




     
    Copyright (c) 1999 OPENCORES.ORG. All rights reserved.