goto the right location before serializing the wifi trailer
authorMathieu Lacage <mathieu.lacage@sophia.inria.fr>
Tue, 16 Oct 2007 17:18:29 +0200
changeset 1976 128fc510f6f1
parent 1975 32e6677b99fb
child 1977 4303409f3d8e
goto the right location before serializing the wifi trailer
src/devices/wifi/wifi-mac-trailer.cc
--- a/src/devices/wifi/wifi-mac-trailer.cc	Tue Oct 16 17:15:30 2007 +0200
+++ b/src/devices/wifi/wifi-mac-trailer.cc	Tue Oct 16 17:18:29 2007 +0200
@@ -53,6 +53,7 @@
 void 
 WifiMacTrailer::Serialize (Buffer::Iterator start) const
 {
+  start.Prev (4);
   start.WriteU32 (0);
 }
 uint32_t