Changeset 6833


Ignore:
Timestamp:
Nov 5, 2009, 9:42:05 AM (15 years ago)
Author:
Christoph Mayer
Message:

-random number für nodeid fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/Node.cpp

    r6822 r6833  
    120120
    121121NodeID Node::generateNodeId(const Name& name) const {
    122         if (name == Name::UNSPECIFIED) return NodeID(Identifier::random());
     122        if (name == Name::UNSPECIFIED) return Name::random().toNodeId();
    123123        else return name.toNodeId();
    124124}
Note: See TracChangeset for help on using the changeset viewer.