Bugzilla – Full Text Bug Listing |
Summary: | vanet-routing-compare.cc example is not generating correct output for WAVE (i.e. mode 3 in .cc file) | ||
---|---|---|---|
Product: | ns-3 | Reporter: | Adarsh Patel <adarshpatel> |
Component: | wave module | Assignee: | ns-bugs <ns-bugs> |
Status: | CLOSED DUPLICATE | ||
Severity: | major | CC: | linlinjavaer |
Priority: | P5 | ||
Version: | ns-3.23 | ||
Hardware: | Other | ||
OS: | Linux | ||
Attachments: | At line number 1327: m_80211mode (1) changed to m_80211mode (3) and m_80211mode = 3; is added at line number 2374. |
*** This bug has been marked as a duplicate of bug 2341 *** |
Created attachment 2565 [details] At line number 1327: m_80211mode (1) changed to m_80211mode (3) and m_80211mode = 3; is added at line number 2374. steps to reproduce: ------------------------------------------------- open file and made following changes in vanet-routing-compare.cc: 1. At line number 1327: m_80211mode (1); to m_80211mode (3); Save and run it. Outuput: with m_80211mode (1) and m_80211mode (3) is same, which is wrong. 2. (i) At line number 1327: m_80211mode (1); to m_80211mode (3) i.e. keep the change as suggested in 1. (ii) At line number 2374 add following : m_80211mode = 1; It will look like: ------------------ m_traceFile = ""; m_logFile = ""; m_mobility = 2; m_80211mode = 3; if (m_nNodes == 156) { --- --- ------------------ save and run it Output: ------------------------------------------------- I am in EnableForWave() I am in EnableForWave() I am in EnableForWave() I am in EnableForWave() I am in EnableForWave() Routing Setup for AODV At t=0s BSM_PDR1=0 BSM_PDR1=0 BSM_PDR3=0 BSM_PDR4=0 BSM_PDR5=0 BSM_PDR6=0... Which is again wrong.