aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2019-09-29 16:12:08 +0100
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2019-09-29 15:48:45 +0000
commitcbcf0dfa898aa273be9e31166db10e5bd0d7912a (patch)
tree8b921113af7c0ae50eafb6ebe8bfef5f709205af /epan/dissectors
parent074e1d4b2b1cb90dd9c9a9c53d29902d48af46e6 (diff)
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>
Diffstat (limited to 'epan/dissectors')
-rw-r--r--epan/dissectors/packet-quic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-quic.c b/epan/dissectors/packet-quic.c
index 4e70bbfca6..e373c8887c 100644
--- a/epan/dissectors/packet-quic.c
+++ b/epan/dissectors/packet-quic.c
@@ -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));