Created
May 18, 2014 19:18
-
-
Save guilleiguaran/8d091b45be390c1eaa3d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -r 67ee979a1807 src/applications/model/onoff-application.cc | |
--- a/src/applications/model/onoff-application.cc Tue Apr 08 14:07:33 2014 -0700 | |
+++ b/src/applications/model/onoff-application.cc Sun May 18 14:18:06 2014 -0500 | |
@@ -39,6 +39,7 @@ | |
#include "ns3/trace-source-accessor.h" | |
#include "onoff-application.h" | |
#include "ns3/udp-socket-factory.h" | |
+#include "ns3/qos-tag.h" | |
#include "ns3/string.h" | |
#include "ns3/pointer.h" | |
@@ -270,6 +271,7 @@ | |
NS_ASSERT (m_sendEvent.IsExpired ()); | |
Ptr<Packet> packet = Create<Packet> (m_pktSize); | |
+ packet->AddPacketTag (QosTag (UP_VO)); | |
m_txTrace (packet); | |
m_socket->Send (packet); | |
m_totBytes += m_pktSize; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment