[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: backward compat bug: (fwd)



> >	I have ns2.1b5. I was trying out some modifications to
> >test-suite-cbq.tcl-v1.tcl, in fact I wanted to add a TCP traffic. I
> >replaced one of the cbr traffic with TCP/Reno. I run the simulatopn I get
> >error 
> >backward compat bug: need to update classMap for TCP
> >
> >Now I know that I am using ns2, and trying to run a simulator script of
> >ns-1, but I feel fine with ns-1. Now what is this bug, and how do I over
> >come with this.....

That message comes from tcl/lib/ns-compat.tcl. Seems the agent name you
gave is not included in the classMap_ which maps old agent names to new
ones in ns-2. If you REALLY want to write ns-1 scripts using ns-2, please
make sure you understand how ns-compat.tcl works.

- Haobo