Skip to content
Snippets Groups Projects
Commit 4e9f4e38 authored by gpotter2's avatar gpotter2
Browse files

Add live IPv6 answers tests

parent f317c650
No related branches found
No related tags found
No related merge requests found
...@@ -1797,6 +1797,14 @@ b=IPv6(src="2047::deca", dst="2048::cafe")/ICMPv6EchoReply(id=0x6666, seq=0x7777 ...@@ -1797,6 +1797,14 @@ b=IPv6(src="2047::deca", dst="2048::cafe")/ICMPv6EchoReply(id=0x6666, seq=0x7777
a=IPv6(src="2048::cafe", dst="2047::deca")/ICMPv6EchoRequest(id=0x6666, seq=0x7777, data="somedata") a=IPv6(src="2048::cafe", dst="2047::deca")/ICMPv6EchoRequest(id=0x6666, seq=0x7777, data="somedata")
(a > b) == True (a > b) == True
= ICMPv6EchoRequest and ICMPv6EchoReply - live answers() use Net6
~ netaccess
a = IPv6(dst="www.google.fr")/ICMPv6EchoRequest()
b = IPv6(src="www.google.fr", dst=a.src)/ICMPv6EchoReply()
assert b.answers(a)
assert (a > b)
########### ICMPv6MRD* Classes ###################################### ########### ICMPv6MRD* Classes ######################################
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment