diff options
author | Jeff Morriss <jeff.morriss@ulticom.com> | 2008-08-14 14:40:16 +0000 |
---|---|---|
committer | Jeff Morriss <jeff.morriss@ulticom.com> | 2008-08-14 14:40:16 +0000 |
commit | 88abfa7bba293d59e334716903802b11e57024fd (patch) | |
tree | 5c21e132344c79863133cf810a2ce7e0f99a7bf2 | |
parent | 326e983d227e8441415d33bb386eb2bb86f71f94 (diff) |
Add expert info warning to TSNs that are retransmitted more than 2 times.
svn path=/trunk/; revision=26013
-rw-r--r-- | epan/dissectors/packet-sctp.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/epan/dissectors/packet-sctp.c b/epan/dissectors/packet-sctp.c index f237174675..b93536a62b 100644 --- a/epan/dissectors/packet-sctp.c +++ b/epan/dissectors/packet-sctp.c @@ -656,6 +656,11 @@ tsn_tree(sctp_tsn_t *t, proto_item *tsn_item, packet_info *pinfo, plurality(t->retransmit_count, "", "s"), ds); PROTO_ITEM_SET_GENERATED(pi); + + if (t->retransmit_count > 2) + expert_add_info_format(pinfo, pi, PI_SEQUENCE, PI_WARN, + "This TSN was retransmitted more than 2 times"); + pt = proto_item_add_subtree(pi, ett_sctp_tsn_retransmitted_count); r = &t->retransmit; |