Index: src/bridge/model/bridge-net-device.cc |
=================================================================== |
--- a/src/bridge/model/bridge-net-device.cc |
+++ b/src/bridge/model/bridge-net-device.cc |
@@ -23,6 +23,7 @@ |
#include "ns3/boolean.h" |
#include "ns3/simulator.h" |
#include "ns3/uinteger.h" |
+#include "ns3/class-of-service-tag.h" |
namespace ns3 { |
@@ -384,6 +385,11 @@ |
BridgeNetDevice::SendFrom (Ptr<Packet> packet, const Address& src, const Address& dest, uint16_t protocolNumber) |
{ |
NS_LOG_FUNCTION_NOARGS (); |
+ |
+ // Class of Service is ignored by this NetDevice |
+ ClassOfServiceTag cosTag; |
+ packet->RemovePacketTag (cosTag); |
+ |
Mac48Address dst = Mac48Address::ConvertFrom (dest); |
// try to use the learned state if data is unicast |