From owner-freebsd-perl@FreeBSD.ORG Fri Jan 23 18:31:51 2015 Return-Path: Delivered-To: perl@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F1180B3E for ; Fri, 23 Jan 2015 18:31:51 +0000 (UTC) Received: from prod2.absolight.net (mx3.absolight.net [IPv6:2a01:678:2:100::25]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "plouf.absolight.net", Issuer "CAcert Class 3 Root" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id B035BD82 for ; Fri, 23 Jan 2015 18:31:51 +0000 (UTC) Received: from prod2.absolight.net (localhost [127.0.0.1]) by prod2.absolight.net (Postfix) with ESMTP id B7502BDC24; Fri, 23 Jan 2015 19:31:48 +0100 (CET) Received: from gw.in.absolight.net (gw-ecl.in.absolight.net [79.143.241.69]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "gw.in.absolight.net", Issuer "CA Cert Signing Authority" (not verified)) by prod2.absolight.net (Postfix) with ESMTPSA id 92FABBDC1F; Fri, 23 Jan 2015 19:31:48 +0100 (CET) Received: from ogg.in.absolight.net (ogg.in.absolight.net [79.143.241.239]) by gw.in.absolight.net (Postfix) with ESMTP id 7356860DA; Fri, 23 Jan 2015 19:31:47 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by ogg.in.absolight.net (Postfix) with ESMTP id 8F2987B92321; Fri, 23 Jan 2015 19:31:45 +0100 (CET) Date: Fri, 23 Jan 2015 19:31:45 +0100 From: Mathieu Arnold To: parv Subject: Re: perl 5.21.7 - test fail of cpan/IO-Socket-IP/t/01local-client-v4.t Message-ID: <48B01714D61DA4E30DA61769@ogg.in.absolight.net> In-Reply-To: <20150123164129.GA56502@holstein.holy.cow> References: <20150122063853.GA3463@holstein.holy.cow> <20150123164129.GA56502@holstein.holy.cow> X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: perl@freebsd.org X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jan 2015 18:31:52 -0000 +--On 23 janvier 2015 06:41:29 -1000 parv wrote: |> | # ifconfig lo0 |> | lo0: flags=8049 metric 0 mtu 16384 |> | options=3 |> | inet6 fe80::1%lo0 prefixlen 64 scopeid 0xd |> | inet6 ::1 prefixlen 128 |> | inet 127.0.0.1 netmask 0xff000000 |> | inet 127.0.0.2 netmask 0xffffff00 |> | inet 127.0.0.3 netmask 0xffffff00 |> | inet 127.0.0.4 netmask 0xffffff00 |> | nd6 options=3 |> |> As a side note, your netmask is wrong, which may be why the test |> fails, 127/8 is the network, not 127/24. | | ... which apparently was the case! After setting the netmask to /8, | tests PASSED (for perl 5.20 & 5.21.8). Thank you. | | | Now, I would try to understand the code that acquires the socket | address to find out why the address was 0x7f000002 earlier. Because selection of the outgoing address is done using the most specific that can reach the other end. -- Mathieu Arnold