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

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 28 Dec 2023 08:28:12 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274426

--- Comment #3 from Dmitry Afanasiev <KOT@MATPOCKuH.Ru> ---
Also I tried to download official VM image from
https://download.freebsd.org/releases/VM-IMAGES/14.0-RELEASE/amd64/Latest/FreeBSD-14.0-RELEASE-amd64.raw.xz

I got same behavior:
root@freebsd:~ # uname -a
FreeBSD freebsd 14.0-RELEASE FreeBSD 14.0-RELEASE #0
releng/14.0-n265380-f9716eee8ab4: Fri Nov 10 05:57:23 UTC 2023    
root@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
root@freebsd:~ # route -6 delete default
delete net default
root@freebsd:~ # route -6 get ::
route: route has not been found: No error: 0
root@freebsd:~ # echo $?
0

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