Add a new case to find existing assocs when only the information of an INIT chunk is provided.

Change-Id: I88c5367652fb59a3da2cfd8895a1c0cc5176b859
Reviewed-on: https://code.wireshark.org/review/740
Reviewed-by: Michael Tüxen <tuexen@wireshark.org>
Tested-by: Michael Tüxen <tuexen@wireshark.org>
This commit is contained in:
ruengeler 2014-03-19 17:06:40 +01:00 committed by Michael Tüxen
parent 9f01daa2dc
commit 27ad4c0331
1 changed files with 6 additions and 0 deletions

View File

@ -574,6 +574,12 @@ static gint sctp_assoc_vtag_cmp(const assoc_info_t *a, const assoc_info_t *b)
(a->initiate_tag == b->verification_tag2) &&
(a->initiate_tag == b->initiate_tag))
return FORWARD_STREAM;
if ((a->sport == b->sport) &&
(a->dport == b->dport) &&
(a->verification_tag1 == b->verification_tag1) &&
(a->initiate_tag == b->initiate_tag))
return FORWARD_STREAM;
if ((a->sport == b->sport) &&
(a->dport == b->dport) &&