merge with HEAD

This commit is contained in:
Mathieu Lacage committed 2008-03-13 14:35:54 -07:00
commit 55f895e0e6
5 files changed
+206 -179

No files matched your search

+2 -2
View File
@@ -149,7 +149,7 @@ EthernetHeader::Serialize (Buffer::Iterator start) const
}
WriteTo (i, m_destination);
WriteTo (i, m_source);
i.WriteU16 (m_lengthType);
i.WriteHtonU16 (m_lengthType);
}
uint32_t
EthernetHeader::Deserialize (Buffer::Iterator start)
@@ -163,7 +163,7 @@ EthernetHeader::Deserialize (Buffer::Iterator start)
ReadFrom (i, m_destination);
ReadFrom (i, m_source);
m_lengthType = i.ReadU16 ();
m_lengthType = i.ReadNtohU16 ();
return GetSerializedSize ();
}