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

(-)../ns-3-dev/src/helper/csma-helper.cc (-1 / +2 lines)
 Lines 76-82    Link Here 
76
  Config::ConnectWithoutContext (oss.str (), MakeBoundCallback (&CsmaHelper::RxEvent, pcap));
76
  Config::ConnectWithoutContext (oss.str (), MakeBoundCallback (&CsmaHelper::RxEvent, pcap));
77
  oss.str ("");
77
  oss.str ("");
78
  oss << "/NodeList/" << nodeid << "/DeviceList/" << deviceid << "/$ns3::CsmaNetDevice/TxQueue/Enqueue";
78
  oss << "/NodeList/" << nodeid << "/DeviceList/" << deviceid << "/$ns3::CsmaNetDevice/TxQueue/Enqueue";
79
  Config::ConnectWithoutContext (oss.str (), MakeBoundCallback (&CsmaHelper::EnqueueEvent, pcap));
79
	/* XXX duplicate packets sent by a node in pcap file (=> not real) */
80
  /* Config::ConnectWithoutContext (oss.str (), MakeBoundCallback (&CsmaHelper::EnqueueEvent, pcap)); */
80
}
81
}
81
void 
82
void 
82
CsmaHelper::EnablePcap (std::string filename, NetDeviceContainer d)
83
CsmaHelper::EnablePcap (std::string filename, NetDeviceContainer d)

Return to bug 189