diff options
author | Anders Broman <anders.broman@ericsson.com> | 2012-02-23 13:24:54 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2012-02-23 13:24:54 +0000 |
commit | 07c039ad17606e631eb18953bb1d11f8809a0256 (patch) | |
tree | c20b3792a4fa5da873242c7ea7d81c3d885cbdf4 /ui | |
parent | 59ce03713486c3e4e180bb04ca45011a0760896c (diff) |
From Dirk Leinenbach:
Follow TCP IPv6 - wrong hostname.
#BACKPORT
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6861
svn path=/trunk/; revision=41162
Diffstat (limited to 'ui')
-rw-r--r-- | ui/gtk/follow_tcp.c | 2 |
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; |