Date: Sat, 4 Jun 2011 15:12:38 +0400 From: Pavel Timofeev <timp87@gmail.com> To: Yuri Pankov <yuri.pankov@gmail.com> Cc: freebsd-ports@freebsd.org Subject: Re: Fping with WITH_IPV6=YES Message-ID: <BANLkTikfPK0zs_8%2BV34vOfz13H9bdbVeGg@mail.gmail.com> In-Reply-To: <20110603161358.GB1247@procyon.xvoid.org> References: <BANLkTi=y0j-rQUEnsn0eRnE-OHRy=H7VWg@mail.gmail.com> <20110603161358.GB1247@procyon.xvoid.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Thank you! And if I need IPV6 I'll use /usr/ports/net/fping+ipv6. > IPv6 not enabled by default, as it does not work together with IPv4. I think it better to put this to pkg-message. 2011/6/3 Yuri Pankov <yuri.pankov@gmail.com> > On Fri, Jun 03, 2011 at 05:57:44PM +0400, Pavel Timofeev wrote: > > Is it normal that /usr/ports/net/fping doesn't work correct if you have > > WITH_IPV6=YES in /etc/make.conf? > > Port's Makefile has the following comment: > # IPv6 not enabled by default, as it does not work together with IPv4. > > and looking at the code, it seems that fping can use either ipv6 or ipv4 > but not both (see the #if(n)def's in the code). > > With -DWITH_IPV6: > $ fping 192.168.1.4 192.168.1.252 > fping: hostname nor servname provided, or not known > $ fping 2001:470:28:4ba:89c1:323b:9032:86ea \ > 2001:470:28:4ba:4a5b:39ff:feb3:b824 > 2001:470:28:4ba:89c1:323b:9032:86ea is alive > 2001:470:28:4ba:4a5b:39ff:feb3:b824 is alive > > Without -DWITH_IPV6: > $ fping 192.168.1.4 192.168.1.252 > 192.168.1.4 is alive > 192.168.1.252 is alive > $ fping 2001:470:28:4ba:89c1:323b:9032:86ea \ > 2001:470:28:4ba:4a5b:39ff:feb3:b824 > 2001:470:28:4ba:89c1:323b:9032:86ea address not found > 2001:470:28:4ba:4a5b:39ff:feb3:b824 address not found > > > HTH, > Yuri >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTikfPK0zs_8%2BV34vOfz13H9bdbVeGg>