Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Oct 2023 09:56:28 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 274426] route get command returns a zero even no route is found
Message-ID:  <bug-274426-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274426

            Bug ID: 274426
           Summary: route get command returns a zero even no route is
                    found
           Product: Base System
           Version: 14.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: KOT@MATPOCKuH.Ru

I'm using FreeBSD 14.0 commit id 657aec455f7cd960c8fa79a089f88f450c568d2d

On 14.0 I got a new problem which route command - this command now returns =
0 as
return code even no route is found:
# route -6 get ::
route: route has not been found: No error: 0
# echo $?
0

On 13.2 route get works properly:
# route -6 get ::
route: route has not been found
# echo $?
255

This looks like very old bug bin/112303

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-274426-227>