Date: Fri, 23 Jan 2015 19:31:45 +0100 From: Mathieu Arnold <mat@FreeBSD.org> To: parv <parv@pair.com> Cc: perl@freebsd.org 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> <CB5B48B5581817678EE0ED38@atuin.in.mat.cc> <20150123164129.GA56502@holstein.holy.cow>
next in thread | previous in thread | raw e-mail | index | archive | help
+--On 23 janvier 2015 06:41:29 -1000 parv <parv@pair.com> wrote: |> | # ifconfig lo0 |> | lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384 |> | options=3<RXCSUM,TXCSUM> |> | 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<PERFORMNUD,ACCEPT_RTADV> |> |> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48B01714D61DA4E30DA61769>