src/applications/packet-sink/packet-sink.cc
changeset 3125 d2d8a36cfd23
parent 3116 c33b6d2775b7
child 3138 44711f06705e
--- a/src/applications/packet-sink/packet-sink.cc	Sat May 17 11:15:02 2008 -0700
+++ b/src/applications/packet-sink/packet-sink.cc	Sat May 17 12:08:20 2008 -0700
@@ -26,7 +26,7 @@
 #include "ns3/socket-factory.h"
 #include "ns3/packet.h"
 #include "ns3/trace-source-accessor.h"
-#include "ns3/udp.h"
+#include "ns3/udp-socket-factory.h"
 #include "packet-sink.h"
 
 using namespace std;
@@ -47,7 +47,7 @@
                    MakeAddressAccessor (&PacketSink::m_local),
                    MakeAddressChecker ())
     .AddAttribute ("Protocol", "The type id of the protocol to use for the rx socket.",
-                   TypeIdValue (Udp::GetTypeId ()),
+                   TypeIdValue (UdpSocketFactory::GetTypeId ()),
                    MakeTypeIdAccessor (&PacketSink::m_tid),
                    MakeTypeIdChecker ())
     .AddTraceSource ("Rx", "A packet has been received",