bug 872: ns3::PcapFileWrapper::Write explodes stack
This commit is contained in:
1 parent
d848a2fdb8
commit
9cf441b3be
14 files changed
+409
-535
No files matched your search
@@ -219,7 +219,7 @@ main (int argc, char *argv[])
|
||||
ns3TcpSocket->TraceConnectWithoutContext ("CongestionWindow", MakeBoundCallback (&CwndChange, stream));
|
||||
|
||||
PcapHelper pcapHelper;
|
||||
Ptr<PcapFileWrapper> file = pcapHelper.CreateFile ("sixth.pcap", "w", PcapHelper::DLT_PPP);
|
||||
Ptr<PcapFileWrapper> file = pcapHelper.CreateFile ("sixth.pcap", std::ios::out, PcapHelper::DLT_PPP);
|
||||
devices.Get (1)->TraceConnectWithoutContext("PhyRxDrop", MakeBoundCallback (&RxDrop, file));
|
||||
|
||||
Simulator::Stop (Seconds(20));
|
||||
|
||||
Reference in new issue
Block a user