--- 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 ();