samples/main-simple.cc
changeset 2602 d9262bff6df2
parent 2257 71a58e70c671
child 2730 b79415813a1c
--- a/samples/main-simple.cc	Thu Mar 13 11:21:12 2008 -0700
+++ b/samples/main-simple.cc	Thu Mar 13 12:56:49 2008 -0700
@@ -42,7 +42,7 @@
 {
   Ptr<Node> a = CreateObject<InternetNode> ();
 
-  TypeId tid = TypeId::LookupByName ("Udp");
+  TypeId tid = TypeId::LookupByName ("ns3::Udp");
   Ptr<SocketFactory> socketFactory = a->GetObject<SocketFactory> (tid);
 
   Ptr<Socket> sink = socketFactory->CreateSocket ();