Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Nov 2005 01:28:43 +0900
From:      Hajimu UMEMOTO <ume@freebsd.org>
To:        Mark Knight <markk@knigma.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: net/mtr and IPv6 with 6.0-STABLE
Message-ID:  <ygek6f8k150.wl%ume@mahoroba.org>
In-Reply-To: <Yx1xz0VgEzeDFw3$@lap.knigma.org>
References:  <Yx1xz0VgEzeDFw3$@lap.knigma.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

>>>>> On Wed, 16 Nov 2005 13:16:16 +0000
>>>>> Mark Knight <markk@knigma.org> said:

markk> 2)  net/mtr doesn't seem to be working with ipv6 anymore.  For example:

Yes, there is a bug in mtr.  The following patch should fix this issue:

Index: net.c
diff -u -p net.c.orig net.c
--- net.c.orig	Thu Nov 17 01:19:41 2005
+++ net.c	Thu Nov 17 01:24:05 2005
@@ -277,7 +277,7 @@ void net_send_query(int index) 
       exit( EXIT_FAILURE);
     }
     echotype = ICMP6_ECHO_REQUEST;
-    salen = sizeof (struct sockaddr_storage);
+    salen = sizeof (struct sockaddr_in6);
     break;
 #endif
   }


Sincerely,

--
Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan
ume@mahoroba.org  ume@{,jp.}FreeBSD.org
http://www.imasy.org/~ume/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ygek6f8k150.wl%ume>