--- a/examples/csma-one-subnet.cc Thu Mar 13 11:21:12 2008 -0700
+++ b/examples/csma-one-subnet.cc Thu Mar 13 12:56:49 2008 -0700
@@ -161,7 +161,7 @@
uint16_t port = 9; // Discard port (RFC 863)
Ptr<OnOffApplication> ooff =
CreateObject<OnOffApplication> ("Remote", Address (InetSocketAddress ("10.1.1.2", port)),
- "Protocol", TypeId::LookupByName ("Udp"),
+ "Protocol", TypeId::LookupByName ("ns3::Udp"),
"OnTime", ConstantVariable(1),
"OffTime", ConstantVariable(0));
n0->AddApplication (ooff);
@@ -175,7 +175,7 @@
// Create a similar flow from n3 to n0, starting at time 1.1 seconds
//
ooff = CreateObject<OnOffApplication> ("Remote", Address (InetSocketAddress ("10.1.1.1", port)),
- "Protocol", TypeId::LookupByName ("Udp"),
+ "Protocol", TypeId::LookupByName ("ns3::Udp"),
"OnTime", ConstantVariable(1),
"OffTime", ConstantVariable(0));
n3->AddApplication (ooff);