tshark: dump port number when generating SCTP endpoints statistics

Change-Id: I72b557f0d12ba7a8c13288399a97ef1634121f79
Reviewed-on: https://code.wireshark.org/review/6266
Reviewed-by: Michael Mann <mmann78@netscape.net>
This commit is contained in:
Pascal Quantin 2015-01-03 18:06:33 +01:00 committed by Michael Mann
parent 0452f763fb
commit e133ba947e
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ endpoints_draw(void *arg)
hostlist_talker_t *host;
guint64 last_frames, max_frames;
guint i;
gboolean display_port = (!strncmp(iu->type, "TCP", 3) || !strncmp(iu->type, "UDP", 3)) ? TRUE : FALSE;
gboolean display_port = (!strncmp(iu->type, "TCP", 3) || !strncmp(iu->type, "UDP", 3) || !strncmp(iu->type, "SCTP", 4)) ? TRUE : FALSE;
printf("================================================================================\n");
printf("%s Endpoints\n", iu->type);