[Ns-bugs] [Bug 1097] New: AODV routing entry set to be VALID mistakenly.

code@nsnam.ece.gatech.edu code at nsnam.ece.gatech.edu
Tue Apr 12 13:52:26 PDT 2011


http://www.nsnam.org/bugzilla/show_bug.cgi?id=1097

           Summary: AODV routing entry set to be VALID mistakenly.
           Product: ns-3
           Version: ns-3.10
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: trivial
          Priority: P5
         Component: aodv
        AssignedTo: sunnmy at iitp.ru
        ReportedBy: yangchi.cn at gmail.com
                CC: ns-bugs at isi.edu
   Estimated Hours: 0.0


In aodv source code of ns-3.10, specifically, in
aodv::RoutingProtocol::UpdateRouteLifeTime(), rt.SetFlag(VALID) is called. But
this will make a IN_SEARCH entry set to VALID without really receiving a valid
aodv reply. Then 102.102.102.102 would be used as a VALID nexthop.

A quick fix can be something like this;

 if(rt.GetFlag() ==VALID)
     rt.SetFlag (VALID);

-- 
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the Ns-bugs mailing list