ns2-roadv icon indicating copy to clipboard operation
ns2-roadv copied to clipboard

Fixes #1

Open sar-gupta opened this issue 6 years ago • 0 comments

  • rt was not defined but it was used. Removed the usage.
  • rq->rq_hop_count is the correct representation for hop counts by RREQ packet.
  • Random number was divided by 20, but it was already in range (0,1).
  • Drop factor was multiplied by 1000, but it was already in range (0,1).
  • srand(time(NULL)) was leading to generation of same random number every time.

sar-gupta avatar May 23 '19 20:05 sar-gupta