aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Tüxen <tuexen@wireshark.org>2015-10-01 14:11:47 +0000
committerMichael Tüxen <tuexen@wireshark.org>2015-10-01 14:16:12 +0000
commitd9233585be5e0b01cb9ad618e9b7f3801c6821bf (patch)
treeb3b8e06dccc014e98cbafad39b57e4ff640e5f57
parent63e8f16eb77ed8ec4301e64713fdef2356af9db6 (diff)
Revert "Fix typos."
This reverts commit e47ea6d7493c60e1761da4f5fbb6bee68fdb5847. Change-Id: Ia5b7f5cdb1f17705010ac60bd2105156014f6d00 Reviewed-on: https://code.wireshark.org/review/10721 Reviewed-by: Michael Tüxen <tuexen@wireshark.org>
-rw-r--r--ui/gtk/sctp_chunk_stat.c2
-rw-r--r--ui/gtk/sctp_graph_dlg.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/ui/gtk/sctp_chunk_stat.c b/ui/gtk/sctp_chunk_stat.c
index 5b4f64fa4c..5742c428cf 100644
--- a/ui/gtk/sctp_chunk_stat.c
+++ b/ui/gtk/sctp_chunk_stat.c
@@ -207,7 +207,7 @@ 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_I_DATA_CHUNK_ID],
+ 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],
diff --git a/ui/gtk/sctp_graph_dlg.c b/ui/gtk/sctp_graph_dlg.c
index 0811c3671c..684636b8e0 100644
--- a/ui/gtk/sctp_graph_dlg.c
+++ b/ui/gtk/sctp_graph_dlg.c
@@ -569,7 +569,7 @@ draw_tsn_graph(struct sctp_udata *u_data)
while (tlist)
{
type = ((struct chunk_header *)tlist->data)->type;
- if (type == SCTP_DATA_CHUNK_ID || type == SCTP_I_DATA_CHUNK_ID || type == SCTP_FORWARD_TSN_CHUNK_ID)
+ if (type == SCTP_DATA_CHUNK_ID || type == SCTP_IDATA_CHUNK_ID || type == SCTP_FORWARD_TSN_CHUNK_ID)
tsnumber = g_ntohl(((struct data_chunk_header *)tlist->data)->tsn);
if (tsnumber >= min_tsn && tsnumber <= max_tsn && tsn->secs >= min_secs)
{
@@ -589,7 +589,7 @@ draw_tsn_graph(struct sctp_udata *u_data)
#else
cr = gdk_cairo_create (u_data->io->pixmap);
#endif
- if ((type == SCTP_DATA_CHUNK_ID) || (type == SCTP_I_DATA_CHUNK_ID))
+ if ((type == SCTP_DATA_CHUNK_ID) || (type == SCTP_IDATA_CHUNK_ID))
gdk_cairo_set_source_rgba (cr, &black_color);
else
gdk_cairo_set_source_rgba (cr, &pink_color);