Bug 2755 - In ns-3.26, the function DefaultChannelScheduler::SwitchToNextChannel() has a error.
In ns-3.26, the function DefaultChannelScheduler::SwitchToNextChannel() has a...
Status: NEW
Product: ns-3
Classification: Unclassified
Component: wave module
ns-3.26
PC Linux
: P3 normal
Assigned To: ns-bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-06-15 00:45 EDT by ly
Modified: 2017-06-15 00:45 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ly 2017-06-15 00:45:44 EDT
Hi.
https://www.nsnam.org/docs/release/3.26/doxygen/default-channel-scheduler_8cc_source.html
In this URL, I find the function "DefaultChannelScheduler::SwitchToNextChannel (uint32_t curChannelNumber, uint32_t nextChannelNumber)" has a error.
The first line of the code for this function is " NS_LOG_FUNCTION (this << curChannelNumber << curChannelNumber);".
But, I think it should be " NS_LOG_FUNCTION (this << curChannelNumber << nextChannelNumber);". 
Because this is the log of the function, it must include the correct arguments.