examples/wireless/mixed-wireless.py
changeset 6208 5a0c48fd9efa
parent 5369 86beb5869f67
child 6256 a02c44146209
--- 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",