QUIC(TLS): Fix length of parameter tree

Bug: 13881
Change-Id: I583c9290c5e4d2aaefc2d3ae09babfa82dfbd299
Reviewed-on: https://code.wireshark.org/review/25118
Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
Alexis La Goutte 2018-01-03 07:53:20 +01:00 committed by Anders Broman
parent d1fe22d14e
commit df6b67d54d
1 changed files with 1 additions and 0 deletions

View File

@ -6550,6 +6550,7 @@ ssl_dissect_hnd_hello_ext_quic_transport_parameters(ssl_common_dissect_t *hf, tv
}
offset += 2;
proto_item_append_text(parameter_tree, " (len=%u)", parameter_length);
proto_item_set_len(parameter_tree, 4 + parameter_length);
proto_tree_add_item(parameter_tree, hf->hf.hs_ext_quictp_parameter_value,
tvb, offset, parameter_length, ENC_NA);