Hi all,
I am testing a new protocol in ns but when i initialize the simulation (./ns
file.tcl) i get the following error:

num_nodes is set 1
INITIALIZE THE LIST xListHead
_o172
Required Hier_data not sent
    (_o398 cmd line 1)
    invoked from within
"_o398 cmd hier-lookup 2.0.0 3.1.0"
    invoked from within
"catch "$self cmd $args" ret"
    invoked from within
"if [catch "$self cmd $args" ret] {
set cls [$self info class]
global errorInfo
set savedInfo $errorInfo
error "error when calling class $cls: $args" $..."
    (procedure "_o398" line 2)
    (SplitObject unknown line 2)
    invoked from within
"$self hier-lookup [$node node-addr] [$dest node-addr]"
    invoked from within
"if [Simulator hier-addr?] {
set dest [$ns get-node-by-id $destid]
set nh [$self hier-lookup [$node node-addr] [$dest node-addr]]
return [$ns get-node-..."
    (procedure "_o398" line 9)
    (RouteLogic lookup line 9)
    invoked from within
"$routingtable lookup $node $fec"
    (procedure "_o69" line 4)
    (RtModule/MPLS lookup-nexthop line 4)
    invoked from within
"$self lookup-nexthop $nodeid $fec"
    (procedure "_o69" line 3)
    (RtModule/MPLS get-nexthop line 3)
    invoked from within
"$self get-nexthop [$dst id]"
    (procedure "_o69" line 2)
    (RtModule/MPLS session line 2)
    invoked from within
"$MAPMPLS session $PAR 1"
    invoked from within
"set ses(1) [$MAPMPLS session $PAR 1]"
    (file "file.tcl" line 184)

I dont have idea what cause the problem, anybody can help me?
thanks in advance.

jochy.

Reply via email to