Pfctl expects SN's creation and expiry to not be absolute timestamps but time deltas.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
Comment Actions
Good catch, although I think we need to fix nlattr_add_pf_threshold() as well.
It might be slightly better to save time_uptime to a separate variable first, because we don't want it to change in between calculations.
I'm going to make you commit this one yourself, once it's ready.