From 32b15e4e92b899f86e44dab3caaf207302c4b0cc Mon Sep 17 00:00:00 2001 From: "Gustavo J. A. M. Carneiro" Date: Fri, 16 Apr 2010 12:58:30 +0100 Subject: [PATCH] Fix tracing part of the mixed-wireless.py example --- examples/wireless/mixed-wireless.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/wireless/mixed-wireless.py b/examples/wireless/mixed-wireless.py index e3c372906..eb7a63165 100644 --- a/examples/wireless/mixed-wireless.py +++ b/examples/wireless/mixed-wireless.py @@ -327,7 +327,8 @@ def main(argv): # 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",