[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem with RouteLogic::lookup



Hello,

I have some problems to use the function "lookup" in the RouteLogic class.

Here is the detail of my case:
I have a topology with only nodes and links and I would like to know the
nodeId of the neighbor of node1 which is gonna be used by node1 to reach
node2.

First I wrote :
set rl [$ns get-routelogic]
and then :
$rl lookup nodeId1 nodeId2

but it is not working and I don't know why. There must be something I didn't
understand.

Please help me !!!

Thank you

Yoann