diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2017-10-22 19:02:32 +0200 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2017-10-28 13:53:03 +0000 |
commit | 5907d17b9a36133a13a11e1aa437e178b6c12b72 (patch) | |
tree | a10c03afe8404198408f5b994d7145f761cce221 /epan/dissectors/packet-quic.c | |
parent | b0edc623b12a60ef6afdf9bdf9f762d61748df58 (diff) |
QUIC: Display Connection ID (CID) on hexa
Ping-Bug: 13881
Change-Id: I7b97e27b6d2091a18e5fc3fd27251523a446cfde
Reviewed-on: https://code.wireshark.org/review/24020
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/packet-quic.c')
-rw-r--r-- | epan/dissectors/packet-quic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-quic.c b/epan/dissectors/packet-quic.c index bfab4b589e..e881f71344 100644 --- a/epan/dissectors/packet-quic.c +++ b/epan/dissectors/packet-quic.c @@ -679,7 +679,7 @@ dissect_quic_long_header(tvbuff_t *tvb, packet_info *pinfo, proto_tree *quic_tre proto_tree_add_item(quic_tree, hf_quic_version, tvb, offset, 4, ENC_BIG_ENDIAN); offset += 4; - col_append_fstr(pinfo->cinfo, COL_INFO, "%s, PKN: %u, CID: %" G_GINT64_MODIFIER "u", val_to_str(long_packet_type, quic_long_packet_type_vals, "Unknown Packet Type"), pkn, cid); + col_append_fstr(pinfo->cinfo, COL_INFO, "%s, PKN: %u, CID: 0x%" G_GINT64_MODIFIER "x", val_to_str(long_packet_type, quic_long_packet_type_vals, "Unknown Packet Type"), pkn, cid); /* Payload */ /* Version Negociation (0x01)*/ @@ -802,7 +802,7 @@ proto_register_quic(void) }, { &hf_quic_connection_id, { "Connection ID", "quic.connection_id", - FT_UINT64, BASE_DEC, NULL, 0x0, + FT_UINT64, BASE_HEX, NULL, 0x0, NULL, HFILL } }, { &hf_quic_packet_number, |