View | Details | Raw Unified | Return to bug 253
Collapse All | Expand All

(-)file_not_specified_in_diff (+9 lines)
Line 32    Link Here 
32
#include "ns3/error-model.h"
Line 127    Link Here 
128
  // Now, let's use the ListErrorModel and explicitly force a loss
129
  std::list<uint32_t> sampleList;
130
  sampleList.push_back (1);
131
  // This time, we'll explicitly create the error model we want
132
  Ptr<ListErrorModel> pem = CreateObject<ListErrorModel> ();
133
  pem->SetList (sampleList);
134
  d.Get (1)->SetAttribute ("RxErrorModel", PointerValue (pem));
135

Return to bug 253