change pcap filename template to be slightly more coherent.
This commit is contained in:
@@ -61,7 +61,7 @@ main (int argc, char *argv[])
|
||||
apps.Start (Seconds (1.0));
|
||||
apps.Stop (Seconds (10.0));
|
||||
|
||||
CsmaHelper::EnablePcap ("tutorial.pcap");
|
||||
CsmaHelper::EnablePcap ("tutorial");
|
||||
|
||||
Simulator::Run ();
|
||||
Simulator::Destroy ();
|
||||
|
||||
@@ -140,8 +140,8 @@ main (int argc, char *argv[])
|
||||
PointToPointHelper::EnableAscii (os);
|
||||
CsmaHelper::EnableAscii (os);
|
||||
|
||||
PointToPointHelper::EnablePcap ("tutorial.pcap");
|
||||
CsmaHelper::EnablePcap ("tutorial.pcap");
|
||||
PointToPointHelper::EnablePcap ("tutorial");
|
||||
CsmaHelper::EnablePcap ("tutorial");
|
||||
|
||||
Simulator::Run ();
|
||||
Simulator::Destroy ();
|
||||
|
||||
Reference in New Issue
Block a user