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

Re: problem with running snoop.tcl



> I tried to use following command as indicated in tcl/ex/snoop/snoop.tcl
>
> > ns snoop.tcl -e 0.2 -eu time -stop 20 -ll Snoop -r
> 
> and it gave me error and stopped. Output is attached at end. I would
> appreciate any pointers or any solutions regarding this. I have my path
> and LD_LIBRARY_PATH variables set properly. 
> 
> If I use "ns snoop.tcl -stop 20 -ll Snoop -r" or "ns snoop.tcl -eu time
> -stop 20 -ll Snoop" then it does not give any error but that's not what I
> want, as I want to use error rate stuff too. (I mean "-e" )

In ns-allinone/ns-2/tcl/lib/ns-lan.tcl,
LanLink instproc install-error {em {src ""} {dst ""}} {
has to be replaced by
LanLink instproc install-error {{src ""} {dst ""} em} {.

- Urs