From Dirk Leinenbach:
authoretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 23 Feb 2012 13:24:54 +0000 (13:24 +0000)
committeretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 23 Feb 2012 13:24:54 +0000 (13:24 +0000)
Follow TCP IPv6 - wrong hostname.

#BACKPORT
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6861

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@41162 f5534014-38df-0310-8fa8-9805f1628bb7

ui/gtk/follow_tcp.c

index 6982291121c354bf90fea1a735600a431251c952..2abacb218ae386b37e1182ee89eea1f9fa33e72d 100644 (file)
@@ -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;