summaryrefslogtreecommitdiff
path: root/regress/sys/netinet6/frag6/frag6_overtail1.py
diff options
context:
space:
mode:
Diffstat (limited to 'regress/sys/netinet6/frag6/frag6_overtail1.py')
-rw-r--r--regress/sys/netinet6/frag6/frag6_overtail1.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/regress/sys/netinet6/frag6/frag6_overtail1.py b/regress/sys/netinet6/frag6/frag6_overtail1.py
index 8807dd605b3..f9ff2cfa619 100644
--- a/regress/sys/netinet6/frag6/frag6_overtail1.py
+++ b/regress/sys/netinet6/frag6/frag6_overtail1.py
@@ -17,9 +17,12 @@ 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)/bytes(packet)[48:64])
-frag.append(IPv6ExtHdrFragment(nh=58, id=fid, offset=1, m=1)/bytes(packet)[48:56])
-frag.append(IPv6ExtHdrFragment(nh=58, id=fid, m=1)/bytes(packet)[40:48])
+frag.append(IPv6ExtHdrFragment(nh=58, id=fid,
+ offset=1)/bytes(packet)[48:64])
+frag.append(IPv6ExtHdrFragment(nh=58, id=fid,
+ offset=1, m=1)/bytes(packet)[48:56])
+frag.append(IPv6ExtHdrFragment(nh=58, id=fid,
+ m=1)/bytes(packet)[40:48])
eth=[]
for f in frag:
pkt=IPv6(src=LOCAL_ADDR6, dst=REMOTE_ADDR6)/f