NS-2.27 and Leach

Saturday, May 01, 2004

dst_ is deprecated

Problem:
Warning dst_ is no longer being supported in NS. dst_ 0xffffffff
Use dst_addr_ and dst_port_ instead


Fix:
I replaced:

[$self agent] set dst_ $mac_dst

with this:

[$self agent] set dst_addr_ $mac_dst

Port is assumed to be zero.

0 Comments:

Post a Comment

<< Home