summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/README.request_response_tracking4
-rw-r--r--epan/dissectors/packet-http.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/doc/README.request_response_tracking b/doc/README.request_response_tracking
index a53644fda6..d29d78836c 100644
--- a/doc/README.request_response_tracking
+++ b/doc/README.request_response_tracking
@@ -158,12 +158,12 @@ Then we just need to declare the hf fields we used.
{ &hf_pana_response_in,
{ "Response In", "pana.response_in",
- FT_FRAMENUM, BASE_NONE, NULL, 0x0,
+ FT_FRAMENUM, BASE_NONE, FRAMENUM_TYPE(FT_FRAMENUM_RESPONSE), 0x0,
"The response to this PANA request is in this frame", HFILL }
},
{ &hf_pana_response_to,
{ "Request In", "pana.response_to",
- FT_FRAMENUM, BASE_NONE, NULL, 0x0,
+ FT_FRAMENUM, BASE_NONE, FRAMENUM_TYPE(FT_FRAMENUM_REQUEST), 0x0,
"This is a response to the PANA request in this frame", HFILL }
},
{ &hf_pana_response_time,
diff --git a/epan/dissectors/packet-http.c b/epan/dissectors/packet-http.c
index 448cbf494c..aa12a0ce87 100644
--- a/epan/dissectors/packet-http.c
+++ b/epan/dissectors/packet-http.c
@@ -3500,11 +3500,11 @@ proto_register_http(void)
"HTTP X-Forwarded-For", HFILL }},
{ &hf_http_request_in,
{ "Request in frame", "http.request_in",
- FT_FRAMENUM, BASE_NONE, NULL, 0,
+ FT_FRAMENUM, BASE_NONE, FRAMENUM_TYPE(FT_FRAMENUM_REQUEST), 0,
"This packet is a response to the packet with this number", HFILL }},
{ &hf_http_response_in,
{ "Response in frame","http.response_in",
- FT_FRAMENUM, BASE_NONE, NULL, 0,
+ FT_FRAMENUM, BASE_NONE, FRAMENUM_TYPE(FT_FRAMENUM_RESPONSE), 0,
"This packet will be responded in the packet with this number", HFILL }},
{ &hf_http_next_request_in,
{ "Next request in frame", "http.next_request_in",