https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277592

            Bug ID: 277592
           Summary: On machines without IPv6, ping uses IPv6
           Product: Base System
           Version: 13.3-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: b...@freebsd.org
          Reporter: m...@netfence.it

On a 13.3 machine with a kernel compiled without "options INET6":


> % host www.google.it
www.google.it has address 216.58.204.227
www.google.it has IPv6 address 2a00:1450:4002:415::2003
% ping www.google.it
ping: socket ssend: Address family not supported by protocol family
% ping -4 www.google.it
PING www.google.it (216.58.204.227): 56 data bytes
64 bytes from 216.58.204.227: icmp_seq=0 ttl=117 time=13.422 ms
64 bytes from 216.58.204.227: icmp_seq=1 ttl=117 time=15.746 ms
^C 

On every other release (including 13.2 and 14.0):
% host www.google.it
www.google.it has address 216.58.204.227
www.google.it has IPv6 address 2a00:1450:4002:415::2003
% ping www.google.it
PING www.google.it (216.58.204.227): 56 data bytes
64 bytes from 216.58.204.227: icmp_seq=0 ttl=117 time=19.679 ms
64 bytes from 216.58.204.227: icmp_seq=1 ttl=117 time=28.819 ms
^C

I tried with and without 'ipv6_activate_all_interfaces="NO"' in rc.conf.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to