summaryrefslogtreecommitdiff
path: root/regress/sys/netinet6/frag6/frag6_timeout.py
diff options
context:
space:
mode:
Diffstat (limited to 'regress/sys/netinet6/frag6/frag6_timeout.py')
-rw-r--r--regress/sys/netinet6/frag6/frag6_timeout.py18
1 files changed, 12 insertions, 6 deletions
diff --git a/regress/sys/netinet6/frag6/frag6_timeout.py b/regress/sys/netinet6/frag6/frag6_timeout.py
index 7b88986db58..423123eae18 100644
--- a/regress/sys/netinet6/frag6/frag6_timeout.py
+++ b/regress/sys/netinet6/frag6/frag6_timeout.py
@@ -20,12 +20,18 @@ packet=IPv6(src=LOCAL_ADDR6, dst=REMOTE_ADDR6)/ \
ICMPv6EchoRequest(id=eid, data=payload)
frag=[]
fid=pid & 0xffffffff
-frag.append(IPv6ExtHdrFragment(nh=58, id=fid, m=1)/bytes(packet)[40:48])
-frag.append(IPv6ExtHdrFragment(nh=58, id=fid, offset=1, m=1)/bytes(packet)[48:56])
-frag.append(IPv6ExtHdrFragment(nh=58, id=fid, offset=2, m=1)/bytes(packet)[56:64])
-frag.append(IPv6ExtHdrFragment(nh=58, id=fid, offset=3, m=1)/bytes(packet)[64:72])
-frag.append(IPv6ExtHdrFragment(nh=58, id=fid, offset=4, m=1)/bytes(packet)[72:80])
-frag.append(IPv6ExtHdrFragment(nh=58, id=fid, offset=5)/bytes(packet)[80:88])
+frag.append(IPv6ExtHdrFragment(nh=58, id=fid,
+ m=1)/bytes(packet)[40:48])
+frag.append(IPv6ExtHdrFragment(nh=58, id=fid,
+ offset=1, m=1)/bytes(packet)[48:56])
+frag.append(IPv6ExtHdrFragment(nh=58, id=fid,
+ offset=2, m=1)/bytes(packet)[56:64])
+frag.append(IPv6ExtHdrFragment(nh=58, id=fid,
+ offset=3, m=1)/bytes(packet)[64:72])
+frag.append(IPv6ExtHdrFragment(nh=58, id=fid,
+ offset=4, m=1)/bytes(packet)[72:80])
+frag.append(IPv6ExtHdrFragment(nh=58, id=fid,
+ offset=5)/bytes(packet)[80:88])
eth=[]
for f in frag:
pkt=IPv6(src=LOCAL_ADDR6, dst=REMOTE_ADDR6)/f