equal
deleted
inserted
replaced
223 CsmaHelper::EnableAsciiAll (ascii); |
223 CsmaHelper::EnableAsciiAll (ascii); |
224 |
224 |
225 // |
225 // |
226 // Also configure some tcpdump traces; each interface will be traced. |
226 // Also configure some tcpdump traces; each interface will be traced. |
227 // The output files will be named: |
227 // The output files will be named: |
228 // csma-bridge.pcap-<nodeId>-<interfaceId> |
228 // csma-bridge-<nodeId>-<interfaceId>.pcap |
229 // and can be read by the "tcpdump -r" command (use "-tt" option to |
229 // and can be read by the "tcpdump -r" command (use "-tt" option to |
230 // display timestamps correctly) |
230 // display timestamps correctly) |
231 // |
231 // |
232 CsmaHelper::EnablePcapAll ("csma-bridge-one-hop"); |
232 CsmaHelper::EnablePcapAll ("csma-bridge-one-hop", false); |
233 |
233 |
234 // |
234 // |
235 // Now, do the actual simulation. |
235 // Now, do the actual simulation. |
236 // |
236 // |
237 NS_LOG_INFO ("Run Simulation."); |
237 NS_LOG_INFO ("Run Simulation."); |