Hope all of you will be fine. I am using Ubuntu 18.04 and i have been doing simulation for WSN with blackhole and malicious attack. I am getting error, please anyone help me. And I have also modified aodv.cc and aodv.h file but still error is comming. Kindly please help me.
zac@zac-HP-Notebook:~/NS2/replicate$ ns AODV.tcl
num_nodes is set 17
INITIALIZE THE LIST xListHead
ns: _o132 blackhole:
(_o132 cmd line 1)
invoked from within
"_o132 cmd blackhole"
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 "_o132" line 2)
(SplitObject unknown line 2)
invoked from within
"_o132 blackhole"
zac@zac-HP-Notebook:~/NS2/replicate$