summaryrefslogtreecommitdiff
path: root/regress/sys/netinet6/frag6/frag6_mf1end.py
diff options
context:
space:
mode:
Diffstat (limited to 'regress/sys/netinet6/frag6/frag6_mf1end.py')
-rw-r--r--regress/sys/netinet6/frag6/frag6_mf1end.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/regress/sys/netinet6/frag6/frag6_mf1end.py b/regress/sys/netinet6/frag6/frag6_mf1end.py
index 0edd4d1c235..bae5eed31ef 100644
--- a/regress/sys/netinet6/frag6/frag6_mf1end.py
+++ b/regress/sys/netinet6/frag6/frag6_mf1end.py
@@ -2,9 +2,9 @@
print "ping6 fragment with mf=1 that overlaps fragment with mf=0 at the end"
-# |---------|
-# |XXXX|
-# |----|
+# |----|
+# |XXXXXXXXX|
+# |---------|
import os
from addr import *
@@ -17,9 +17,9 @@ packet=IPv6(src=LOCAL_ADDR6, dst=REMOTE_ADDR6)/ \
ICMPv6EchoRequest(id=eid, data=payload)
frag=[]
fid=pid & 0xffffffff
-frag.append(IPv6ExtHdrFragment(nh=58, id=fid, offset=1)/str(packet)[48:64])
-frag.append(IPv6ExtHdrFragment(nh=58, id=fid, m=1, offset=2)/str(packet)[56:64])
-frag.append(IPv6ExtHdrFragment(nh=58, id=fid, m=1)/str(packet)[40:48])
+frag.append(IPv6ExtHdrFragment(nh=58, id=fid, offset=2)/str(packet)[56:64])
+frag.append(IPv6ExtHdrFragment(nh=58, id=fid, offset=1, m=1)/str(packet)[48:64])
+frag.append(IPv6ExtHdrFragment(nh=58, id=fid, m=1)/str(packet)[40:56])
eth=[]
for f in frag:
pkt=IPv6(src=LOCAL_ADDR6, dst=REMOTE_ADDR6)/f