summaryrefslogtreecommitdiff
path: root/ui/gtk/follow_tcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui/gtk/follow_tcp.c')
-rw-r--r--ui/gtk/follow_tcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/gtk/follow_tcp.c b/ui/gtk/follow_tcp.c
index 6982291121..2abacb218a 100644
--- a/ui/gtk/follow_tcp.c
+++ b/ui/gtk/follow_tcp.c
@@ -253,7 +253,7 @@ follow_tcp_stream_cb(GtkWidget * w _U_, gpointer data _U_)
struct e_in6_addr ipaddr;
memcpy(&ipaddr, stats.ip_address[0], 16);
hostname0 = get_hostname6(&ipaddr);
- memcpy(&ipaddr, stats.ip_address[0], 16);
+ memcpy(&ipaddr, stats.ip_address[1], 16);
hostname1 = get_hostname6(&ipaddr);
} else {
guint32 ipaddr;