forked from osmocom/wireshark
grpc: fix typo reponse => response
Change-Id: Ib0f230881426e300a8553aac14ea4d0efe87642c Reviewed-on: https://code.wireshark.org/review/27042 Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
parent
79014a50c3
commit
8f3dac1739
|
@ -116,7 +116,7 @@ static dissector_handle_t grpc_handle;
|
|||
/* GRPC message type dissector table list.
|
||||
* Dissectors can register themselves in this table as grpc message data dissectors.
|
||||
* Dissectors registered in this table may use pattern that
|
||||
* contains content-type,grpc-method-path(http2_path),request/reponse info, like:
|
||||
* contains content-type,grpc-method-path(http2_path),request/response info, like:
|
||||
* application/grpc,/helloworld.Greeter/SayHello,request
|
||||
* or just contains content-type:
|
||||
* application/grpc
|
||||
|
@ -314,7 +314,7 @@ dissect_grpc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_
|
|||
http2_path = http2_get_header_value(pinfo, HTTP2_HEADER_PATH, FALSE);
|
||||
is_request = (http2_path != NULL);
|
||||
|
||||
if (http2_path == NULL) { /* this reponse, so we get it from http2 request stream */
|
||||
if (http2_path == NULL) { /* this response, so we get it from http2 request stream */
|
||||
http2_path = http2_get_header_value(pinfo, HTTP2_HEADER_PATH, TRUE);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue