Fix tracing part of the mixed-wireless.py example
authorGustavo J. A. M. Carneiro <gjc@inescporto.pt>
Fri, 16 Apr 2010 12:58:30 +0100
changeset 6208 5a0c48fd9efa
parent 6207 a6ee8748aee7
child 6209 644530171fdd
Fix tracing part of the mixed-wireless.py example
examples/wireless/mixed-wireless.py
--- a/examples/wireless/mixed-wireless.py	Fri Apr 16 07:52:54 2010 +0200
+++ b/examples/wireless/mixed-wireless.py	Fri Apr 16 12:58:30 2010 +0100
@@ -327,7 +327,8 @@
     #  Let's do a pcap trace on the backbone devices
     wifiPhy.EnablePcap("mixed-wireless", backboneDevices)
     #  Let's additionally trace the application Sink, ifIndex 0
-    ns3.CsmaHelper.EnablePcap("mixed-wireless", appSink.GetId(), 0, False)
+    csma = ns3.CsmaHelper()
+    csma.EnablePcapAll("mixed-wireless", False)
 
 #   #ifdef ENABLE_FOR_TRACING_EXAMPLE
 #     Config.Connect("/NodeList/*/$MobilityModel/CourseChange",