QUIC: display Stream ID as decimal again

5/5 developers of QUIC implementations favor decimal over hex, so change
it. This matches the display of the quic.stream.stream_id field.

Change-Id: I67bfe481f3066f9b99c13b24e413d41f3f59dc1f
Reviewed-on: https://code.wireshark.org/review/34647
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
This commit is contained in:
Peter Wu 2019-09-29 16:12:08 +01:00 committed by Alexis La Goutte
parent 074e1d4b2b
commit cbcf0dfa89
1 changed files with 2 additions and 2 deletions

View File

@ -1067,8 +1067,8 @@ dissect_quic_frame_type(tvbuff_t *tvb, packet_info *pinfo, proto_tree *quic_tree
proto_tree_add_item_ret_varint(ft_tree, hf_quic_stream_stream_id, tvb, offset, -1, ENC_VARINT_QUIC, &stream_id, &lenvar);
offset += lenvar;
proto_item_append_text(ti_ft, " id=%#" G_GINT64_MODIFIER "x", stream_id);
col_append_fstr(pinfo->cinfo, COL_INFO, "(%#" G_GINT64_MODIFIER "x)", stream_id);
proto_item_append_text(ti_ft, " id=%" G_GINT64_MODIFIER "u", stream_id);
col_append_fstr(pinfo->cinfo, COL_INFO, "(%" G_GINT64_MODIFIER "u)", stream_id);
proto_item_append_text(ti_ft, " fin=%d", !!(frame_type & FTFLAGS_STREAM_FIN));