From 33158c3969ee1c45cde42843ff3a781edbf2ba03 Mon Sep 17 00:00:00 2001 From: Yida Gao Date: Thu, 8 Jul 2010 20:18:14 -0700 Subject: [PATCH] Fix errors in simple-point-to-point-olsr.cc comments --- examples/routing/simple-point-to-point-olsr.cc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/examples/routing/simple-point-to-point-olsr.cc b/examples/routing/simple-point-to-point-olsr.cc index 8247480fe..04011da37 100644 --- a/examples/routing/simple-point-to-point-olsr.cc +++ b/examples/routing/simple-point-to-point-olsr.cc @@ -29,8 +29,7 @@ // n1 // // - all links are point-to-point links with indicated one-way BW/delay -// - CBR/UDP flows from n0 to n3, and from n3 to n1 -// - FTP/TCP flow from n0 to n3, starting at time 1.2 to time 1.35 sec. +// - CBR/UDP flows from n0 to n4, and from n3 to n1 // - UDP packet size of 210 bytes, with per-packet interval 0.00375 sec. // (i.e., DataRate of 448,000 bps) // - DropTail queues @@ -48,7 +47,7 @@ using namespace ns3; -NS_LOG_COMPONENT_DEFINE ("SimpleGlobalRoutingExample"); +NS_LOG_COMPONENT_DEFINE ("SimplePointToPointOlsrExample"); int main (int argc, char *argv[]) @@ -123,7 +122,7 @@ main (int argc, char *argv[]) Ipv4InterfaceContainer i34 = ipv4.Assign (nd34); // Create the OnOff application to send UDP datagrams of size - // 210 bytes at a rate of 448 Kb/s + // 210 bytes at a rate of 448 Kb/s from n0 to n4 NS_LOG_INFO ("Create Applications."); uint16_t port = 9; // Discard port (RFC 863)