tutorial change to reflect pcap change to streams at the lowest levels
This commit is contained in:
1 parent
577cf347f0
commit
2aba8e5c7e
1 file changed
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user