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

(-)a/src/devices/csma/csma-net-device.cc (+7 lines)
 Lines 383-388    Link Here 
383
  NS_LOG_LOGIC ("m_mtu = " << m_mtu);
383
  NS_LOG_LOGIC ("m_mtu = " << m_mtu);
384
  NS_LOG_LOGIC ("m_frameSize = " << m_frameSize);
384
  NS_LOG_LOGIC ("m_frameSize = " << m_frameSize);
385
385
386
  // If packet, with 14 byes Ethernet header, and 4 bytes FCS, will be less
387
  // 64 bytes long (so less than 46 now), pad it to reach minimum frame size
388
  if (p->GetSize () < 46)
389
    {
390
      p->AddPaddingAtEnd (46 - p->GetSize ());
391
    }
392
386
  uint16_t lengthType = 0;
393
  uint16_t lengthType = 0;
387
  switch (m_encapMode) 
394
  switch (m_encapMode) 
388
    {
395
    {

Return to bug 750