HomeFreeBSD

route(8): fix `route not found` exit code and warn with netlink

Description

route(8): fix route not found exit code and warn with netlink

Fix route(8) incorrectly returning a zero exit code even when unable to
find the specified route with route -n get <route>.

Reviewed by: kp
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D41882

Details

Provenance
rcmAuthored on Sep 19 2023, 4:46 PM
kpCommitted on Sep 19 2023, 5:34 PM
Reviewer
kp
Differential Revision
D41882: route(8): fix `route not found` exit code and warn with netlink
Parents
rG2ccfa855b2fc: libfido2: update to 1.13.0
Branches
Unknown
Tags
Unknown