samples/main-simple.cc
changeset 2250 18f432098389
parent 2230 9f13ac3291e0
child 2252 80595448707a
--- a/samples/main-simple.cc	Thu Jan 03 11:39:45 2008 +0100
+++ b/samples/main-simple.cc	Tue Jan 15 12:36:22 2008 +0100
@@ -42,7 +42,7 @@
 {
   Ptr<Node> a = CreateObject<InternetNode> ();
 
-  InterfaceId iid = InterfaceId::LookupByName ("Udp");
+  TypeId iid = TypeId::LookupByName ("Udp");
   Ptr<SocketFactory> socketFactory = a->QueryInterface<SocketFactory> (iid);
 
   Ptr<Socket> sink = socketFactory->CreateSocket ();