text2pcap: Fix IPv6 payload length
authorVasil Velichkov <vvvelichkov@gmail.com>
Sun, 28 Oct 2018 19:46:05 +0000 (21:46 +0200)
committerAnders Broman <a.broman58@gmail.com>
Tue, 30 Oct 2018 15:57:02 +0000 (15:57 +0000)
commitb66a76ae84a32f9fbd496e321eb50b186935a1b6
treedd30e6543a42794c06074e73fd5882007ed21587
parent9e3d5a7d74c8220c36d849a776822695b61cc8ca
text2pcap: Fix IPv6 payload length

According to RFC 8200 the payload length must contain the length of the payload
without the IPv6 header's length

Change-Id: Ibeb18c243edc396eaac6d2ffde73d6c4a6fe75a0
Reviewed-on: https://code.wireshark.org/review/30406
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
test/suite_text2pcap.py
text2pcap.c