inet-framework / simulte

SimuLTE - LTE System Level Simulation Model and Simulator for INET & OMNeT++ - deprecated, use Simu5G instead
https://simulte.omnetpp.org
Other
137 stars 110 forks source link

Mistake in code (since v0.9.1) #31

Open Paszkal opened 5 years ago

Paszkal commented 5 years ago

There is a possible mistake that can lead to run-time errors and false information/outcomes in simulation. Location: \src\stack\rlc\am\buffer\AmRxQueue.cc line 227 Original code line: flowControlInfo_->setDstAddr(orig->getDstAddr()); What was meant to be (probably): flowControlInfo_->setDstAddr(orig->getSrcAddr());

The mistake is present in both the current version and the 0.9.1 (and probably every other version in between).