aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2016-08-24 19:53:04 +0200
committerAnders Broman <a.broman58@gmail.com>2016-08-24 21:33:03 +0000
commit47a95f65359e2164ccb05dbecb6ca57af496c2ca (patch)
tree289f7fe99e33394f9dd3f063881b892c4255cce5 /epan
parentc7986c5b02d35eab05fbbdca4a5519d9720d59a7 (diff)
HTTP2: Display PUSH_PROMISE Header in bytes
and also use the name of spec for field (Header BLock Fragment Change-Id: I5a3884186258dac1f243f991a3392c875403eb97 Reviewed-on: https://code.wireshark.org/review/17310 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-http2.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-http2.c b/epan/dissectors/packet-http2.c
index d370e8ce23..57d50674cf 100644
--- a/epan/dissectors/packet-http2.c
+++ b/epan/dissectors/packet-http2.c
@@ -1200,7 +1200,7 @@ dissect_http2_push_promise(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *ht
headlen = tvb_reported_length_remaining(tvb, offset) - padding;
proto_tree_add_item(http2_tree, hf_http2_push_promise_header, tvb, offset, headlen,
- ENC_ASCII|ENC_NA);
+ ENC_NA);
inflate_http2_header_block(tvb, pinfo, offset, http2_tree, headlen, h2session, flags);
@@ -1819,9 +1819,9 @@ proto_register_http2(void)
"Identifies the stream the endpoint intends to start sending frames for", HFILL }
},
{ &hf_http2_push_promise_header,
- { "Header", "http2.push_promise.header",
- FT_STRING, BASE_NONE, NULL, 0x0,
- NULL, HFILL }
+ { "Header Block Fragment", "http2.push_promise.header",
+ FT_BYTES, BASE_NONE, NULL, 0x0,
+ "Containing request header fields", HFILL }
},
{ &hf_http2_push_promise_padding,
{ "Padding", "http2.push_promise.padding",