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

Re: Code Error



I had the impression that it's changed to dst_addr_ (as a result of the
32bit addressing).

- Haobo

On Sat, 15 Jan 2000, Martin Koyabe wrote:

> Hi all,
> 
> I am trying to compile some code in ns-2.1b6-current 'snapshot' and I get the 
> following error at this line:
> 
> ---code line---
> 
> # I am trying to set address for sender_addr
> 
> set sender_addr [$sender set addr_]  
> 
> 
> ---error message---
> can't read "addr_": no such variable
>     while executing
> "subst $[subst $var]"
>     (procedure "_o84" line 5)
>     (Object next line 5)
>     invoked from within
> "_o84 next addr_"
>     ("eval" body line 1)
>     invoked from within
> "eval $self next $args"
>     (procedure "_o84" line 18)
>     (Agent set line 18)
>     invoked from within
> "$mftp1 set addr_"
>     (file "mftp_demo.tcl" line 87)
> ------
> 
> Any suggestions of possible cause of error !!
> 
> -- Martin
> 
> 
>