From 57758528e15fc62d63be676b2a22ff9eddaa2ae7 Mon Sep 17 00:00:00 2001 From: BAILLEUL Quentin Date: Wed, 18 Mar 2026 09:25:22 +0100 Subject: [PATCH] Test fixes --- contrib/traffic-generator/test/traffic-generator-test-suite.cc | 2 +- contrib/tsn/examples/tsn-point2point-withTAS-GuardBand.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/traffic-generator/test/traffic-generator-test-suite.cc b/contrib/traffic-generator/test/traffic-generator-test-suite.cc index 9e1ce82..f6bb061 100644 --- a/contrib/traffic-generator/test/traffic-generator-test-suite.cc +++ b/contrib/traffic-generator/test/traffic-generator-test-suite.cc @@ -1,6 +1,6 @@ // 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 #include "ns3/test.h" diff --git a/contrib/tsn/examples/tsn-point2point-withTAS-GuardBand.cc b/contrib/tsn/examples/tsn-point2point-withTAS-GuardBand.cc index 8ec6000..5a48c18 100644 --- a/contrib/tsn/examples/tsn-point2point-withTAS-GuardBand.cc +++ b/contrib/tsn/examples/tsn-point2point-withTAS-GuardBand.cc @@ -40,7 +40,7 @@ MacRxCallback(std::string context, Ptr p) //A callback to log the pkt given to the netDevice by the application static void -PktSentCallback(std::string context, Ptr p, uint16_t vid) +PktSentCallback(std::string context, Ptr p) { NS_LOG_INFO((Simulator::Now()).As(Time::S) << " \t" << context << " : Pkt #" << p->GetUid() << " given to the netDevice !"); }