Fix tracing part of the mixed-wireless.py example

This commit is contained in:
Gustavo J. A. M. Carneiro committed 2010-04-16 12:58:30 +01:00
1 parent 333283c8d0
commit 32b15e4e92
1 file changed
+2 -1
+2 -1
View File
@@ -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",