Test fixes
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
// Include a header file from your module to test.
|
// Include a header file from your module to test.
|
||||||
#include "ns3/traffic-generator.h"
|
#include "ns3/ethernet-generator.h"
|
||||||
|
|
||||||
// An essential include is test.h
|
// An essential include is test.h
|
||||||
#include "ns3/test.h"
|
#include "ns3/test.h"
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ MacRxCallback(std::string context, Ptr<const Packet> p)
|
|||||||
|
|
||||||
//A callback to log the pkt given to the netDevice by the application
|
//A callback to log the pkt given to the netDevice by the application
|
||||||
static void
|
static void
|
||||||
PktSentCallback(std::string context, Ptr<const Packet> p, uint16_t vid)
|
PktSentCallback(std::string context, Ptr<const Packet> p)
|
||||||
{
|
{
|
||||||
NS_LOG_INFO((Simulator::Now()).As(Time::S) << " \t" << context << " : Pkt #" << p->GetUid() << " given to the netDevice !");
|
NS_LOG_INFO((Simulator::Now()).As(Time::S) << " \t" << context << " : Pkt #" << p->GetUid() << " given to the netDevice !");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user