]> git.llucax.com Git - z.facultad/75.74/practicos.git/commitdiff
Bugfix.
authorLeandro Lucarella <llucax@gmail.com>
Sun, 28 May 2006 19:24:02 +0000 (19:24 +0000)
committerLeandro Lucarella <llucax@gmail.com>
Sun, 28 May 2006 19:24:02 +0000 (19:24 +0000)
practicas/pipi/src/ethernetframe.h

index 12052026bd61bf9739b16b1a7e3d4820f26439b8..98c249b1f85ab0d09ce27f4df5bfb2c2c5d8229a 100644 (file)
@@ -52,7 +52,7 @@ struct EthernetFrame: Frame
 
     /// Obtiene datos
     std::string data() const
-    { return _frame; }
+    { return std::string(_frame, _len); }
 
 };