Ole Troan | 282093f | 2018-09-19 12:38:51 +0200 | [diff] [blame] | 1 | diff --git a/scapy/layers/inet6.py b/scapy/layers/inet6.py |
2 | index 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 |