IUdp -> Udp
authorMathieu Lacage <mathieu.lacage@sophia.inria.fr>
Wed, 06 Jun 2007 10:54:58 +0200
changeset 753 683626e722bd
parent 752 a4febfb8416f
child 754 627d129f300d
IUdp -> Udp
examples/simple-p2p.cc
samples/main-simple.cc
--- a/examples/simple-p2p.cc	Mon Jun 04 18:25:43 2007 +0200
+++ b/examples/simple-p2p.cc	Wed Jun 06 10:54:58 2007 +0200
@@ -149,7 +149,7 @@
     n0, 
     Ipv4Address("10.1.3.2"), 
     80, 
-    "IUdp",
+    "Udp",
     ConstantVariable(1), 
     ConstantVariable(0));
   // Start the application
@@ -161,7 +161,7 @@
     n3, 
     Ipv4Address("10.1.2.1"), 
     80, 
-    "IUdp",
+    "Udp",
     ConstantVariable(1), 
     ConstantVariable(0));
   // Start the application
--- a/samples/main-simple.cc	Mon Jun 04 18:25:43 2007 +0200
+++ b/samples/main-simple.cc	Wed Jun 06 10:54:58 2007 +0200
@@ -40,7 +40,7 @@
 {
   Ptr<Node> a = Create<InternetNode> ();
 
-  InterfaceId iid = InterfaceId::LookupByName ("IUdp");
+  InterfaceId iid = InterfaceId::LookupByName ("Udp");
   Ptr<SocketFactory> socketFactory = a->QueryInterface<SocketFactory> (iid);
 
   Ptr<Socket> sink = socketFactory->CreateSocket ();