src/devices/csma-cd/csma-cd-net-device.cc
changeset 1001 33cf9c56e3cd
parent 997 d95ffcec6523
child 1167 2cb083ff04c6
--- a/src/devices/csma-cd/csma-cd-net-device.cc	Sat Jul 28 14:14:16 2007 +0100
+++ b/src/devices/csma-cd/csma-cd-net-device.cc	Sat Jul 28 23:20:58 2007 -0700
@@ -161,7 +161,7 @@
   header.SetSource(this->GetAddress());
   header.SetDestination(dest);
 
-  uint16_t lengthType;
+  uint16_t lengthType = 0;
   switch (m_encapMode) 
     {
     case ETHERNET_V1: