aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/follow_tcp.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2014-04-19 12:29:50 -0700
committerGuy Harris <guy@alum.mit.edu>2014-04-19 19:30:17 +0000
commit97869f2dec0a8cce8ff1745a0bbd747da7a2e1e7 (patch)
treea52e5ae2fe9d04877c951225007f43c145c9ab96 /ui/gtk/follow_tcp.c
parentc8f7e16b57ed02dd5b4ccba7ec16ac37ae37beb6 (diff)
More name changes.
Add ep_ to routines that may return ephemeral strings. Change "get_XXX" to "XXX_to_display" if the routine returns a formatted string if it can't get a name. Change-Id: Ia0e82784349752cf4285bf82788316c9588fdd88 Reviewed-on: https://code.wireshark.org/review/1217 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'ui/gtk/follow_tcp.c')
-rw-r--r--ui/gtk/follow_tcp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/gtk/follow_tcp.c b/ui/gtk/follow_tcp.c
index ec9bb594f1..71b7d54b72 100644
--- a/ui/gtk/follow_tcp.c
+++ b/ui/gtk/follow_tcp.c
@@ -261,8 +261,8 @@ follow_tcp_stream_cb(GtkWidget * w _U_, gpointer data _U_)
follow_info->is_ipv6 = stats.is_ipv6;
- port0 = get_tcp_port(stats.port[0]);
- port1 = get_tcp_port(stats.port[1]);
+ port0 = ep_tcp_port_to_display(stats.port[0]);
+ port1 = ep_tcp_port_to_display(stats.port[1]);
/* Host 0 --> Host 1 */
if(sc.src_port == stats.port[0]) {