From owner-freebsd-net@FreeBSD.ORG Thu Jan 2 09:41:49 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2001:1900:2254:206a::19:2]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DAE12E64 for ; Thu, 2 Jan 2014 09:41:49 +0000 (UTC) Received: from butcher-nb.yandex.net (hub.freebsd.org [IPv6:2001:1900:2254:206c::16:88]) by mx2.freebsd.org (Postfix) with ESMTP id 2AA6F23F4; Thu, 2 Jan 2014 09:41:48 +0000 (UTC) Message-ID: <52C53443.7050704@FreeBSD.org> Date: Thu, 02 Jan 2014 13:41:23 +0400 From: "Andrey V. Elsukov" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: Peter Jeremy , freebsd-net@freebsd.org Subject: Re: IPv4 Multicast MAC Address issues References: <20140101085721.GA34334@server.rulingia.com> <20140101200303.GS99167@funkthat.com> <20140102064356.GL87348@server.rulingia.com> <20140102071328.GW99167@funkthat.com> In-Reply-To: <20140102071328.GW99167@funkthat.com> X-Enigmail-Version: 1.6 Content-Type: multipart/mixed; boundary="------------070105090207070507050803" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jan 2014 09:41:49 -0000 This is a multi-part message in MIME format. --------------070105090207070507050803 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On 02.01.2014 11:13, John-Mark Gurney wrote: > Hmmm... looking at the comments for arpresolve, it says dst is the next > hop which would be the gateway, and not the multicast address, so that > could be it, but I don't know the code well enough to figure out why > dst isn't the multicast address... Hi All, can you try this patch? -- WBR, Andrey V. Elsukov --------------070105090207070507050803 Content-Type: text/x-patch; name="multicast.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="multicast.diff" Index: sys/netinet/ip_output.c =================================================================== --- sys/netinet/ip_output.c (revision 260185) +++ sys/netinet/ip_output.c (working copy) @@ -418,6 +418,7 @@ again: goto done; } + gw = dst; goto sendit; } --------------070105090207070507050803--