Fping with WITH_IPV6=YES

Pavel Timofeev timp87 at gmail.com
Sat Jun 4 11:12:39 UTC 2011


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 at 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
>


More information about the freebsd-ports mailing list