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

bug in Agent/rtProto/DV?



I'm running ns-2.1b5.

The command:

	$ns rtproto DV $n0 $n1 $n2 $n3 

fails with error:

	wrong # args: should be "set varName ?newValue?"
	    while compiling
	"set nodeslist _o10 _o12"
	    ("eval" body line 1)
	    invoked from within
	"eval "set nodeslist $args""
	    (procedure "Agent/rtProto/DV" line 5)

and I adjusted ~ns/tcl/rtglib/route-proto.tcl at line 443.

	eval "set nodeslist $args"

becomes
	
	eval "set nodeslist \$args"

and that seems to work.  Actually, the eval doesn't seem necessary
here anyway.

-Mike

-- 
Mike Berry
ISC Networking, University of Pennsylvania
Voice:(215)/898-1264   Fax:(215)/898-9348     E-mail:<[email protected]>