--- a/src/devices/csma/csma-net-device.cc Wed Jul 23 17:09:12 2008 -0700
+++ b/src/devices/csma/csma-net-device.cc Wed Jul 23 18:29:13 2008 -0700
@@ -240,7 +240,7 @@
// This corresponds to the length interpretation of the lengthType field,
// but with an LLC/SNAP header added to the payload.
//
- lengthType = llc.GetSerializedSize () + p->GetSize ();
+ lengthType = p->GetSize ();
NS_ASSERT_MSG (lengthType <= m_maxPayloadLength,
"CsmaNetDevice::AddHeader(): 802.3 Length/Type field with LLC/SNAP: "
"length interpretation must not exceed device max payload length");