--- a/examples/simple-point-to-point.cc Thu Sep 06 12:33:22 2007 +0200
+++ b/examples/simple-point-to-point.cc Thu Sep 06 12:56:31 2007 +0200
@@ -64,6 +64,7 @@
#include "ns3/ipv4-route.h"
#include "ns3/point-to-point-topology.h"
#include "ns3/onoff-application.h"
+#include "ns3/node-list.h"
using namespace ns3;
@@ -178,6 +179,8 @@
asciitrace.TraceAllQueues ();
asciitrace.TraceAllNetDeviceRx ();
+ NodeList::ConnectPrinterToAll (std::cout);
+
// Also configure some tcpdump traces; each interface will be traced
// The output files will be named
// simple-point-to-point.pcap-<nodeId>-<interfaceId>