src/applications/udp-echo/udp-echo-server.cc
changeset 2602 d9262bff6df2
parent 2494 1c69ea12779c
child 2765 7bb9c55cfb49
--- a/src/applications/udp-echo/udp-echo-server.cc	Thu Mar 13 11:21:12 2008 -0700
+++ b/src/applications/udp-echo/udp-echo-server.cc	Thu Mar 13 12:56:49 2008 -0700
@@ -36,7 +36,7 @@
 TypeId
 UdpEchoServer::GetTypeId (void)
 {
-  static TypeId tid = TypeId ("UdpEchoServer")
+  static TypeId tid = TypeId ("ns3::UdpEchoServer")
     .SetParent<Application> ()
     .AddConstructor<UdpEchoServer> ()
     .AddAttribute ("Port", "Client Port",
@@ -71,7 +71,7 @@
 
   if (!m_socket)
     {
-      TypeId tid = TypeId::LookupByName ("Udp");
+      TypeId tid = TypeId::LookupByName ("ns3::Udp");
       Ptr<SocketFactory> socketFactory = 
         GetNode ()->GetObject<SocketFactory> (tid);
       m_socket = socketFactory->CreateSocket ();