tutorial change to reflect pcap change to streams at the lowest levels

This commit is contained in:
Craig Dowell committed 2010-04-16 11:35:41 -07:00
1 parent 577cf347f0
commit 2aba8e5c7e
1 file changed
+1 -1
+1 -1
View File
@@ -2099,7 +2099,7 @@ look in the @code{main} function, you will find new code to do just that:
...
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));
@end verbatim