[Bug 274426] route get command returns a zero even no route is found

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 12 Oct 2023 23:40:22 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274426

Mark Johnston <markj@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |markj@FreeBSD.org

--- Comment #1 from Mark Johnston <markj@FreeBSD.org> ---
Seems to work correctly on main:

markj@nuc> route -6 get ::
route: route has not been found
markj@nuc> echo $?
255

Presumably the difference here is that route(8) is using netlink by default.

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