Article 67AT LEACH simulation problem in NS 2.34 Ubuntu 10.04 LTS

LEACH simulation problem in NS 2.34 Ubuntu 10.04 LTS

by
digital7428
from LinuxQuestions.org on (#67AT)
Hello knudfl i have searched unsuccessfully which particular file to edit to get rid of this warning while simulating LEACH protocol.

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

Solution from http://ns2.blogspot.jp/:
replace with: [$self agent] set dst_addr_ $mac_dst

File to be edited: un-identified!

Question: Which file should be edited?

/Davelatest?d=yIl2AUoC8zA latest?i=O3ho6SVPVOw:r52l-O6cz_Q:F7zBnMy latest?i=O3ho6SVPVOw:r52l-O6cz_Q:V_sGLiP latest?d=qj6IDK7rITs latest?i=O3ho6SVPVOw:r52l-O6cz_Q:gIN9vFwO3ho6SVPVOw
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 1 comments

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

by Anonymous Coward on 2016-12-01 08:27 (#23KD3)

File to be edited is leach.tcl in ns-allinone-2.34/ns-2.34/mit/uAMPS
replace [$self agent]set dst_ with [$self agent]set dst_addr_ $mac_dst