# HG changeset patch # User Gustavo J. A. M. Carneiro # Date 1271419110 -3600 # Node ID 5a0c48fd9efa2f818c40327aeba45ccce0cc20ab # Parent a6ee8748aee7625a150d17ca92e86ea6be1ed12b Fix tracing part of the mixed-wireless.py example diff -r a6ee8748aee7 -r 5a0c48fd9efa 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",