Page MenuHomeFreeBSD

netlink: Fix expire column in -r flag using netlink
ClosedPublic

Authored by pouria on Feb 22 2026, 4:55 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, May 17, 3:38 PM
Unknown Object (File)
Sun, May 17, 10:02 AM
Unknown Object (File)
Sat, May 16, 9:42 PM
Unknown Object (File)
Sat, May 16, 8:29 PM
Unknown Object (File)
Wed, May 13, 8:06 PM
Unknown Object (File)
Wed, May 13, 6:56 PM
Unknown Object (File)
Wed, May 13, 6:56 PM
Unknown Object (File)
Wed, May 13, 6:56 PM

Details

Summary

netstat expire time report broken since netlink

Test Plan

I was going to write a test command for it,
but then I found out that route(8) on netlink is broken too. :)
use route compiled WITHOUT_NETLINK_SUPPORT for now.

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

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Fix multipath expire values too.

This revision is now accepted and ready to land.Feb 26 2026, 3:18 AM
This revision was landed with ongoing or failed builds.Feb 26 2026, 12:35 PM
This revision was automatically updated to reflect the committed changes.

I have been testing this patch on a couple of computers for over a week now, and everything seems to work fine (at least I see no regression).