diff --git a/test/regression.uts b/test/regression.uts index d6243eba765e84f77de7872af3ef90ae4182e6d0..d97e377b7352191cec5e0f6af7f72aa495784b29 100644 --- a/test/regression.uts +++ b/test/regression.uts @@ -1889,6 +1889,13 @@ a.type == 4 and a.len == 255 and a.res == '\x11\x11\x00\x00\x00\x00' and isinsta a=ICMPv6NDOptRedirectedHdr('\x04\x06\x00\x00\x00\x00\x00\x00`\x00\x00\x00\x00\x00;@\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') a.type == 4 and a.len == 6 and a.res == "\x00\x00\x00\x00\x00\x00" and isinstance(a.pkt, Raw) and a.pkt.load == '`\x00\x00\x00\x00\x00;@\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' += ICMPv6NDOptRedirectedHdr - Complete dissection +~ ICMPv6NDOptRedirectedHdr +x=ICMPv6NDOptRedirectedHdr('\x04\x06\x00\x00\x00\x00\x00\x00`\x00\x00\x00\x00\x00;@\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01') +y=x.copy() +del(y.len) +x == ICMPv6NDOptRedirectedHdr(str(y)) + # Add more tests ########### ICMPv6NDOptMTU Class ####################################