diff --git a/ryu/lib/packet/icmp.py b/ryu/lib/packet/icmp.py index 6f2e9591..a07a5c77 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