Page MenuHomeFreeBSD

route: Fix -expire argument when using netlink
ClosedPublic

Authored by pouria on Feb 22 2026, 6:45 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jul 18, 8:40 PM
Unknown Object (File)
Sat, Jul 18, 3:28 PM
Unknown Object (File)
Wed, Jul 15, 11:05 AM
Unknown Object (File)
Wed, Jul 15, 7:09 AM
Unknown Object (File)
Wed, Jul 15, 7:09 AM
Unknown Object (File)
Mon, Jul 13, 11:37 AM
Unknown Object (File)
Sat, Jul 4, 6:38 AM
Unknown Object (File)
Wed, Jul 1, 11:19 AM

Details

Summary

Depends on D55442 for adding new route with -expire
argument.
Also fixes nexthop expire value on route get using netlink.

Test Plan

To test:

route -n6 add -host 3fff::1 -gateway ::1 -expire +10
route -n6 get 3fff::1

Also, checkout test plan in D55440.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 70884
Build 67767: arc lint + arc unit