我在NS-allinone-2.35中实施Blackhole攻击时遇到以下错误
ns: _o107 hacker:
(_o107 cmd line 1)
invoked from within
"_o107 cmd hacker"
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 "_o107" line 2)
(SplitObject unknown line 2)
invoked from within
"_o107 hacker"
这里,Hacker是黑洞节点
我已经检查了我的blackhole.tcl文件,没关系......
问题出在其他地方......
答案 0 :(得分:0)
splitObject错误是间距错误。我想,你提到了一个间距错误,你提到了“黑客”。在tcl文件和aodv.cc文件中检查它。