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

vlan.tcl delay - bug?




Hi,

  In vlan.tcl of ns-2.1b6-current, link delay is set to the delay of LL.
However, I think the delay should be set to that of channel becasue
channel is when the delay really occured.

  Can someone comment?  Do I missing or misunderstand something?

  Thanks.

-- Wing-Chung


from vlan.tcl:

LanNode instproc addNode {nodes bw delay {llType ""} {ifqType ""} \
                {macType ""} {phyType ""}} {
		
		 ...

                set ll [$nif set ll_]
                $ll set delay_ $delay
                $ll varp $varp_
}

there is no setting of channel_::delay_ in vlan.tcl