close Warning: BrowserModule failed with ConfigurationError: Look in the Trac log for more information.

Changes between Version 35 and Version 36 of OverSimDevelop


Ignore:
Timestamp:
Feb 9, 2010, 4:52:51 PM (15 years ago)
Author:
heep
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • OverSimDevelop

    v35 v36  
    446446    if (stage != MIN_STAGE_OVERLAY) return;         // see BaseApp.cc
    447447
    448     myKey = thisNode.ip.get4().getInt() & ~BIGBIT;  // get our key from our IP address
     448    myKey = thisNode.getAddress().get4().getInt() & ~BIGBIT;  // get our key from our IP address
    449449
    450450    // initialize the rest of variables
     
    467467{
    468468    // Set the information of the previous step in the chain
    469     prevNode.ip = IPAddress(BIGBIT | (myKey - 1));
    470     prevNode.port = thisNode.port;
     469    prevNode.setAddress(IPAddress(BIGBIT | (myKey - 1)));
     470    prevNode.setPort(thisNode.getPort());
    471471    prevNode.key = OverlayKey(myKey - 1);
    472472
    473473    // Set the information of the next step in the chain
    474     nextNode.ip = IPAddress(BIGBIT | (myKey + 1));
    475     nextNode.port = thisNode.port;
     474    nextNode.setAddress(IPAddress(BIGBIT | (myKey + 1)));
     475    nextNode.setPort(thisNode.getPort());
    476476    nextNode.key = OverlayKey(myKey + 1);
    477477