From 769cca7ab62a0ac4e1cbfc6631e9e762c60d81b6 Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Sun, 28 May 2006 19:24:02 +0000 Subject: [PATCH] Bugfix. --- practicas/pipi/src/ethernetframe.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } }; -- 2.43.0