New issue 77 by ruy.su...@gmail.com: icmp6 type/code slip duplicate?
http://code.google.com/p/dpkt/issues/detail?id=77
What steps will reproduce the problem?
>>> print binascii.b2a_hex(buf)
002314008b3c000c29ea6fad86dd6000000000203afffe80000000000000020c29fffeea6fadfe80000000000000655dc7efb798391387000be800000000fe80000000000000655dc7efb79839130101000c29ea6fad
>>> frame = dpkt.ethernet.Ethernet(buf)
>>> print binascii.b2a_hex(str(frame))
002314008b3c000c29ea6fad86dd6000000000203afffe80000000000000020c29fffeea6fadfe80000000000000655dc7efb798391387000be887000be800000000fe80000000000000655dc7efb79839130101000c29ea6fad
icmp6 type and code and the back 4bytes is duplicate unpacked.
What is the expected output? What do you see instead?
The above.
What version of the product are you using? On what operating system?
First line of icmp6.py
# $Id: icmp6.py 23 2006-11-08 15:45:33Z dugsong $
Please provide any additional information below.
***** C:\DEV\PYTHON\ICMP6_ORIGINAL.PY
71: except (KeyError, dpkt.UnpackError):
72: self.data = buf
***** C:\DEV\PYTHON\ICMP6.PY
71: except (KeyError, dpkt.UnpackError):
72: pass
*****
Same icmp.py.
Maybe work.
It was the same problem as Issue 59.
Sorry.