[Linuxptp-devel] [PATCH] Force IPv6 to IPV6 only, no ipv4 to ipv6 mapping.

2015-08-10 Thread Gary E. Miller
By default, at least on Linux, opening a PF_INET6 socket also grabs the matching IPv4 port. This patch stops that. Only tested on Linux. Unknown how this will work on *BSD or WinXX. --- udp6.c | 4 1 file changed, 4 insertions(+) diff --git a/udp6.c b/udp6.c index f098b8c..54df133 100644

Re: [Linuxptp-devel] [PATCH] Force IPv6 to IPV6 only, no ipv4 to ipv6 mapping.

2015-08-10 Thread Jiri Benc
On Mon, 10 Aug 2015 12:14:56 -0700, Gary E. Miller wrote: > By default, at least on Linux, opening a PF_INET6 socket also > grabs the matching IPv4 port. This patch stops that. Looks good but I think it should have more detailed description. Especially elaborate on the reasons why linuxptp needs

Re: [Linuxptp-devel] [PATCH] Force IPv6 to IPV6 only, no ipv4 to ipv6 mapping.

2015-08-10 Thread Richard Cochran
Gary, On Mon, Aug 10, 2015 at 12:14:56PM -0700, Gary E. Miller wrote: > By default, at least on Linux, opening a PF_INET6 socket also > grabs the matching IPv4 port. This patch stops that. Can you please post once again, adding your "Signed-off-by:" tag? Also, a word about why this is needed wo

Re: [Linuxptp-devel] [PATCH] Force IPv6 to IPV6 only, no ipv4 to ipv6 mapping.

2015-08-10 Thread Gary E. Miller
Yo Richard! On Mon, 10 Aug 2015 21:54:33 +0200 Richard Cochran wrote: > On Mon, Aug 10, 2015 at 12:14:56PM -0700, Gary E. Miller wrote: > > By default, at least on Linux, opening a PF_INET6 socket also > > grabs the matching IPv4 port. This patch stops that. > > Can you please post once again,