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)
Tue, Oct 13, 12:45 PM
Unknown Object (File)
Mon, Oct 12, 7:48 PM
Unknown Object (File)
Wed, Oct 7, 6:35 AM
Unknown Object (File)
Tue, Oct 6, 9:33 PM
Unknown Object (File)
Tue, Oct 6, 10:27 AM
Unknown Object (File)
Tue, Oct 6, 2:04 AM
Unknown Object (File)
Mon, Oct 5, 10:33 AM
Unknown Object (File)
Mon, Oct 5, 9:15 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 Not Applicable
Unit
Tests Not Applicable