Page MenuHomeFreeBSD

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

Authored by pouria on Sun, Feb 22, 4:55 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Mar 21, 6:36 PM
Unknown Object (File)
Thu, Mar 19, 3:38 PM
Unknown Object (File)
Wed, Mar 18, 4:54 AM
Unknown Object (File)
Tue, Mar 17, 5:18 AM
Unknown Object (File)
Mon, Mar 16, 1:17 AM
Unknown Object (File)
Sun, Mar 15, 1:00 AM
Unknown Object (File)
Sat, Mar 14, 9:58 PM
Unknown Object (File)
Tue, Mar 10, 6:21 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 Passed
Unit
No Test Coverage
Build Status
Buildable 70880
Build 67763: arc lint + arc unit

Event Timeline

Fix multipath expire values too.

This revision is now accepted and ready to land.Thu, Feb 26, 3:18 AM
This revision was landed with ongoing or failed builds.Thu, Feb 26, 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).