You must use this sintax
$ns rtproto DV "$r1 $r2"
instead of
$ns rtproto DV $r1 $r2
this must solve your problem.
I had this same problem once. Smoetimes you need to use " " when you want to
set some parameters in NS.
Marcio.
2005/12/26, Jie Feng <[EMAIL PROTECTED]>:
>
>
> Hi all:
>
> I hav
Hi all:
I have a problem on running DV protocol:
I want to enable only a few nodes run DV protocol in ns-2.26, and I used
command below:
$ns rtproto DV $r1 $r2
There is some thing wrong:
"
wrong # args: should be "set varName ?newValue?"
while compiling
"set nodeslist _o10 _o12"
("eval