equal
deleted
inserted
replaced
169 ascii.open ("csma-multicast.tr"); |
169 ascii.open ("csma-multicast.tr"); |
170 CsmaHelper::EnableAsciiAll (ascii); |
170 CsmaHelper::EnableAsciiAll (ascii); |
171 |
171 |
172 // Also configure some tcpdump traces; each interface will be traced. |
172 // Also configure some tcpdump traces; each interface will be traced. |
173 // The output files will be named: |
173 // The output files will be named: |
174 // csma-multicast.pcap-<nodeId>-<interfaceId> |
174 // csma-multicast-<nodeId>-<interfaceId>.pcap |
175 // and can be read by the "tcpdump -r" command (use "-tt" option to |
175 // and can be read by the "tcpdump -r" command (use "-tt" option to |
176 // display timestamps correctly) |
176 // display timestamps correctly) |
177 CsmaHelper::EnablePcapAll ("csma-multicast"); |
177 CsmaHelper::EnablePcapAll ("csma-multicast", false); |
178 // |
178 // |
179 // Now, do the actual simulation. |
179 // Now, do the actual simulation. |
180 // |
180 // |
181 NS_LOG_INFO ("Run Simulation."); |
181 NS_LOG_INFO ("Run Simulation."); |
182 Simulator::Run (); |
182 Simulator::Run (); |