X-Git-Url: https://git.llucax.com/z.facultad/75.74/practicos.git/blobdiff_plain/e4fc91d44fb531c591f0b1ac5c2a8ee472bf7dc9..769cca7ab62a0ac4e1cbfc6631e9e762c60d81b6:/practicas/pipi/src/ethernetframe.h 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); } };