aboutsummaryrefslogtreecommitdiffstats
path: root/gtk
diff options
context:
space:
mode:
authorJaap Keuter <jaap.keuter@xs4all.nl>2006-10-17 20:53:57 +0000
committerJaap Keuter <jaap.keuter@xs4all.nl>2006-10-17 20:53:57 +0000
commitc57d78db9ce708adf2cc36f78c00d5483ae8f461 (patch)
tree719b6c38944674f6844306f1c769cba25d95b5b8 /gtk
parent9777d83a8f532c1ce6695585697e3129261fb1ea (diff)
From Stephen Fisher:
While researching another bug in follow_dlg.c, I spotted a different one that causes the from and to hostnames/ip addresses to be the same in the follow tcp stream dialog only with IPv6. svn path=/trunk/; revision=19583
Diffstat (limited to 'gtk')
-rw-r--r--gtk/follow_dlg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/follow_dlg.c b/gtk/follow_dlg.c
index cd2417f6dc..a797e92a0f 100644
--- a/gtk/follow_dlg.c
+++ b/gtk/follow_dlg.c
@@ -18,7 +18,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifdef HAVE_CONFIG_H
@@ -332,7 +332,7 @@ follow_stream_cb(GtkWidget * w, 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;