GTP session tracker removing frame info fix

Change-Id: I55e4a7a70e61d2178ee75dfeb3a201de8b12e34d
Reviewed-on: https://code.wireshark.org/review/13686
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
This commit is contained in:
Gloria Pozuelo 2016-02-03 10:40:57 +01:00 committed by Pascal Quantin
parent eeafb47a12
commit 2e84d20018

View file

@ -8405,7 +8405,7 @@ track_gtp_session(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, gtp_hd
if ((gtp_hdr->message != GTP_MSG_CREATE_PDP_RESP && gtp_hdr->message != GTP_MSG_CREATE_PDP_REQ && gtp_hdr->message != GTP_MSG_UPDATE_PDP_RESP
&& gtp_hdr->message != GTP_MSG_UPDATE_PDP_REQ)) {
/* If the lists are not empty*/
if (!wmem_list_count(teid_list) && !wmem_list_count(ip_list)) {
if (wmem_list_count(teid_list) && wmem_list_count(ip_list)) {
remove_frame_info(&pinfo->num);
}
}