Signed-off-by: itoyuichi <[email protected]>
---
ryu/lib/packet/icmp.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ryu/lib/packet/icmp.py b/ryu/lib/packet/icmp.py
index 6f2e959..a07a5c7 100644
--- a/ryu/lib/packet/icmp.py
+++ b/ryu/lib/packet/icmp.py
@@ -260,7 +260,7 @@ class TimeExceeded(stringify.StringifyMixin):
@classmethod
def parser(cls, buf, offset):
- data_len = struct.unpack_from(cls._PACK_STR, buf, offset)
+ (data_len, ) = struct.unpack_from(cls._PACK_STR, buf, offset)
msg = cls(data_len)
offset += cls._MIN_LEN
--
1.7.10.4
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel