[Bug 269643] ping: UDP connect: No route to host

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 18 Feb 2023 09:10:46 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269643

            Bug ID: 269643
           Summary: ping: UDP connect: No route to host
           Product: Base System
           Version: 13.1-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: cryptogranny@gmail.com

After update from F12 to F13.1 the ping behavior has changed, because it's now
requires -4/-6 option to resolve names:

ping ya.ru
ping: UDP connect: No route to host



It's kinda breaking change for scripts and it's hard to figure out without
searching internet. What's more strange the ping6 utility still persist in the
system for the same purpose. 

ping6 -4 ya.ru
ping6: -4 and -6 cannot be used simultaneously

So I understand this is some kind of compilation bug and some part of IPv6 code
was included in simple ping utility.

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