diff options
author | ruengeler <ruengeler@wireshark.org> | 2014-03-19 17:06:40 +0100 |
---|---|---|
committer | Michael Tüxen <tuexen@wireshark.org> | 2014-03-19 16:38:11 +0000 |
commit | 27ad4c033151ed4482e553370bc134337dd47db3 (patch) | |
tree | 3361c8920c28a1993efb0231fa08c12d1bc1739d /epan/dissectors/packet-sctp.c | |
parent | 9f01daa2dc229b0357f69e45e4961b4f3d534565 (diff) |
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>
Diffstat (limited to 'epan/dissectors/packet-sctp.c')
-rw-r--r-- | epan/dissectors/packet-sctp.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/epan/dissectors/packet-sctp.c b/epan/dissectors/packet-sctp.c index 5c0e3e9067..c5fdafe986 100644 --- a/epan/dissectors/packet-sctp.c +++ b/epan/dissectors/packet-sctp.c @@ -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) && |