[ns] error: NS : code omitted because of length

ashish tiwari ashishtiwari2006 at gmail.com
Tue Feb 23 23:18:46 PST 2010


hello all I am adding a new protocol in  NS2 and  I have added some line in
ns-agent.tcl
"Agent/EHWMP instproc init args
{
    $self next $args
}
Agent/EHWMP set sport_   0
Agent/EHWMP set dport_   0"

Now when I am  typing ns  it  is  giving following error.Could  anyone help
me for this.
<ns-users at isi.edu>, ashish at ubuntu:~/ns/ns-allinone-2.33/ns-2.33$ ns
ns:
[code omitted because of length]
: invalid command name "Agent/EHWMP"
    while executing
"Agent/EHWMP instproc init args {
$self next $args
}"


-- 
Thanks & Regards
Ashish Kumar Tiwari
M.Tech CSE NITK SURATHKAL
MANGALORE,KARNATAKA


More information about the Ns-users mailing list