blob: 4cc3b5fdaffd80f8f764eda35a357de1f387cc23 [file] [log] [blame]
Ole Troan282093f2018-09-19 12:38:51 +02001diff --git a/scapy/layers/inet6.py b/scapy/layers/inet6.py
2index b58978f4..c4a3084d 100644
3--- a/scapy/layers/inet6.py
4+++ b/scapy/layers/inet6.py
5@@ -1073,6 +1073,7 @@ def defragment6(packets):
6 q = res[0]
7 nh = q[IPv6ExtHdrFragment].nh
8 q[IPv6ExtHdrFragment].underlayer.nh = nh
9+ q[IPv6ExtHdrFragment].underlayer.plen = len(fragmentable)
10 del q[IPv6ExtHdrFragment].underlayer.payload
11 q /= conf.raw_layer(load=fragmentable)
12