summaryrefslogtreecommitdiff
path: root/ui/gtk/sctp_chunk_stat.c
diff options
context:
space:
mode:
authorruengeler <ruengeler@wireshark.org>2015-10-01 13:36:24 +0200
committerMichael Tüxen <tuexen@wireshark.org>2015-10-01 11:47:04 +0000
commit4e9361dc88eefef27d031e29e2f8ca9891cc03eb (patch)
treeb91d5a7928a95bab73ceb3c2653ae43cfa0ba3c5 /ui/gtk/sctp_chunk_stat.c
parent778feded84ad7c6677865ea0890aa6aa06fac61b (diff)
downloadwireshark-4e9361dc88eefef27d031e29e2f8ca9891cc03eb.tar.gz
SCTP: Add I_DATA support
Change-Id: Ib8566b7d94fdafdb9735b356d129f378c94af3cf Reviewed-on: https://code.wireshark.org/review/10716 Reviewed-by: Michael Tüxen <tuexen@wireshark.org> Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com>
Diffstat (limited to 'ui/gtk/sctp_chunk_stat.c')
-rw-r--r--ui/gtk/sctp_chunk_stat.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/ui/gtk/sctp_chunk_stat.c b/ui/gtk/sctp_chunk_stat.c
index e4266e0df2..5742c428cf 100644
--- a/ui/gtk/sctp_chunk_stat.c
+++ b/ui/gtk/sctp_chunk_stat.c
@@ -207,11 +207,12 @@ sctpstat_draw(void *phs)
12, tmp->chunk_count[SCTP_ABORT_CHUNK_ID],
13, tmp->chunk_count[SCTP_ERROR_CHUNK_ID],
14, tmp->chunk_count[SCTP_NR_SACK_CHUNK_ID],
- 15, tmp->chunk_count[SCTP_ASCONF_ACK_CHUNK_ID],
- 16, tmp->chunk_count[SCTP_PKTDROP_CHUNK_ID],
- 17, tmp->chunk_count[SCTP_FORWARD_TSN_CHUNK_ID],
- 18, tmp->chunk_count[SCTP_ASCONF_CHUNK_ID],
- 19, tmp->chunk_count[OTHER_CHUNKS_INDEX],
+ 15, tmp->chunk_count[SCTP_IDATA_CHUNK_ID],
+ 16, tmp->chunk_count[SCTP_ASCONF_ACK_CHUNK_ID],
+ 17, tmp->chunk_count[SCTP_PKTDROP_CHUNK_ID],
+ 18, tmp->chunk_count[SCTP_FORWARD_TSN_CHUNK_ID],
+ 19, tmp->chunk_count[SCTP_ASCONF_CHUNK_ID],
+ 20, tmp->chunk_count[OTHER_CHUNKS_INDEX],
-1
);
wmem_free(NULL, src_addr);
@@ -250,6 +251,7 @@ static const stat_column titles[]={
{G_TYPE_UINT, TAP_ALIGN_RIGHT, "ABORT" },
{G_TYPE_UINT, TAP_ALIGN_RIGHT, "ERROR" },
{G_TYPE_UINT, TAP_ALIGN_RIGHT, "NR-SACK" },
+ {G_TYPE_UINT, TAP_ALIGN_RIGHT, "IDATA" },
{G_TYPE_UINT, TAP_ALIGN_RIGHT, "ASCONF-ACK" },
{G_TYPE_UINT, TAP_ALIGN_RIGHT, "PKTDROP" },
{G_TYPE_UINT, TAP_ALIGN_RIGHT, "FORWARD-TSN" },