From 2aba8e5c7eb19622595dda949f0e4b85d0010c17 Mon Sep 17 00:00:00 2001 From: Craig Dowell Date: Fri, 16 Apr 2010 11:35:41 -0700 Subject: [PATCH] tutorial change to reflect pcap change to streams at the lowest levels --- doc/tutorial/tracing.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/tutorial/tracing.texi b/doc/tutorial/tracing.texi index 088e33b75..dea995967 100644 --- a/doc/tutorial/tracing.texi +++ b/doc/tutorial/tracing.texi @@ -2099,7 +2099,7 @@ look in the @code{main} function, you will find new code to do just that: ... PcapHelper pcapHelper; - Ptr file = pcapHelper.CreateFile ("sixth.pcap", "w", PcapHelper::DLT_PPP); + Ptr file = pcapHelper.CreateFile ("sixth.pcap", std::ios::out, PcapHelper::DLT_PPP); devices.Get (1)->TraceConnectWithoutContext("PhyRxDrop", MakeBoundCallback (&RxDrop, file)); @end verbatim