src/node/node-list.cc
changeset 562 1855299b67d4
parent 551 12ed30c77cab
child 564 4da6cc2af83f
--- a/src/node/node-list.cc	Thu May 10 08:18:41 2007 +0200
+++ b/src/node/node-list.cc	Thu May 10 08:19:19 2007 +0200
@@ -145,9 +145,10 @@
   return SimulationSingleton<NodeListPriv>::Get ()->CreateTraceResolver (context);
 }
 Ptr<Node>
-NodeList::PeekNode (uint32_t n)
+NodeList::GetNode (uint32_t n)
 {
-  return SimulationSingleton<NodeListPriv>::Get ()->PeekNode (n);
+  Node *node = SimulationSingleton<NodeListPriv>::Get ()->PeekNode (n);
+  return node;
 }