diff options
author | glebius <glebius@FreeBSD.org> | 2012-04-04 14:47:59 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2012-04-04 14:47:59 +0000 |
commit | 7676adf25d6182c1722f79935bb39b3667558934 (patch) | |
tree | 0377642ac6c3d632e59791cd90596abc5523a3cf /contrib/diff/lib/strtoumax.c | |
parent | b45da04a8e396598388534d55651196579a41415 (diff) | |
download | FreeBSD-src-7676adf25d6182c1722f79935bb39b3667558934.zip FreeBSD-src-7676adf25d6182c1722f79935bb39b3667558934.tar.gz |
Merge from OpenBSD:
revision 1.173
date: 2011/11/09 12:36:03; author: camield; state: Exp; lines: +11 -12
State expire time is a baseline time ("last active") for expiry
calculations, and does _not_ denote the time when to expire. So
it should never be added to (set into the future).
Try to reconstruct it with an educated guess on state import and
just set it to the current time on state updates.
This fixes a problem on pfsync listeners where the expiry time
could be double the expected value and cause a lot more states
to linger.
Diffstat (limited to 'contrib/diff/lib/strtoumax.c')
0 files changed, 0 insertions, 0 deletions