summaryrefslogtreecommitdiff
path: root/epan/dissectors/packet-http.c
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2016-01-05 22:28:48 -0500
committerAnders Broman <a.broman58@gmail.com>2016-01-06 23:28:19 +0000
commitc7c936a32d2422916797cdd2f39a93c3829b8ea5 (patch)
treee0d137eeebe2d41968344639d873e8f7151acd7f /epan/dissectors/packet-http.c
parent3239d02bc9335cefd56c99166ead6de7b8f67c29 (diff)
downloadwireshark-c7c936a32d2422916797cdd2f39a93c3829b8ea5.tar.gz
Have all TCP flags in the structure that is passed to subdissectors.
Have subdissectors do the bit math checking for particular flag bits. Change-Id: Ie6350e316f79af879be9fc512ce215f24449a7e5 Reviewed-on: https://code.wireshark.org/review/13071 Reviewed-by: Michael Mann <mmann78@netscape.net> Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-http.c')
-rw-r--r--epan/dissectors/packet-http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-http.c b/epan/dissectors/packet-http.c
index 0cfe31a704..d024dd52f0 100644
--- a/epan/dissectors/packet-http.c
+++ b/epan/dissectors/packet-http.c
@@ -824,7 +824,7 @@ dissect_http_message(tvbuff_t *tvb, int offset, packet_info *pinfo,
*/
gboolean try_desegment_body = (http_desegment_body &&
(!(conv_data->request_method && g_str_equal(conv_data->request_method, "HEAD"))) &&
- ((tcpinfo == NULL) || (tcpinfo->fin == FALSE)));
+ ((tcpinfo == NULL) || (!IS_TH_FIN(tcpinfo->flags))));
if (!req_resp_hdrs_do_reassembly(tvb, offset, pinfo,
http_desegment_headers, try_desegment_body)) {
/*