From: Leandro Lucarella Date: Sun, 28 May 2006 19:24:02 +0000 (+0000) Subject: Bugfix. X-Git-Tag: svn_import~73 X-Git-Url: https://git.llucax.com/z.facultad/75.74/practicos.git/commitdiff_plain/769cca7ab62a0ac4e1cbfc6631e9e762c60d81b6?ds=inline Bugfix. --- diff --git a/practicas/pipi/src/ethernetframe.h b/practicas/pipi/src/ethernetframe.h index 1205202..98c249b 100644 --- a/practicas/pipi/src/ethernetframe.h +++ b/practicas/pipi/src/ethernetframe.h @@ -52,7 +52,7 @@ struct EthernetFrame: Frame /// Obtiene datos std::string data() const - { return _frame; } + { return std::string(_frame, _len); } };