diff options
Diffstat (limited to 'ui')
-rw-r--r-- | ui/gtk/sctp_chunk_stat.c | 2 | ||||
-rw-r--r-- | ui/gtk/sctp_graph_dlg.c | 4 |
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); |