Test fixes

This commit is contained in:
2026-03-18 09:25:22 +01:00
parent 64949975cf
commit 57758528e1
2 changed files with 2 additions and 2 deletions

View File

@@ -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"

View File

@@ -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 !");
} }