aboutsummaryrefslogtreecommitdiffstats
path: root/ui/cli/tap-endpoints.c
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2015-01-03 18:06:33 +0100
committerMichael Mann <mmann78@netscape.net>2015-01-03 18:15:25 +0000
commite133ba947eba9112ac814960547ba412acadcde8 (patch)
treecc03ce9b24887980136b3fde8e98354d0ed351b7 /ui/cli/tap-endpoints.c
parent0452f763fb0dd2cf7e38f0a127c306199a814c3e (diff)
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>
Diffstat (limited to 'ui/cli/tap-endpoints.c')
-rw-r--r--ui/cli/tap-endpoints.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/cli/tap-endpoints.c b/ui/cli/tap-endpoints.c
index 827522d149..e9aa797502 100644
--- a/ui/cli/tap-endpoints.c
+++ b/ui/cli/tap-endpoints.c
@@ -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);