From c7c936a32d2422916797cdd2f39a93c3829b8ea5 Mon Sep 17 00:00:00 2001 From: Michael Mann Date: Tue, 5 Jan 2016 22:28:48 -0500 Subject: 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 Petri-Dish: Michael Mann Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman --- epan/dissectors/packet-http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'epan/dissectors/packet-http.c') 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)) { /* -- cgit v1.2.1