On 13 March 2017 at 15:09, Patrick Wildt <patr...@blueri.se> wrote: > On Mon, Mar 13, 2017 at 02:33:02PM +0100, Mike Belopuhov wrote: >> On Tue, Mar 07, 2017 at 10:36 +0100, Patrick Wildt wrote: >> > On Tue, Mar 07, 2017 at 10:17:16AM +0100, Patrick Wildt wrote: >> > > Hi, >> > > >> > > currently the pf status struct contains the time since pf was enabled as >> > > seen on the wall clock. This means when time drifts, or is set to some >> > > earlier value, the time will be off. If we use time since uptime it >> > > always increments and shows how long pf has been running compared to >> > > its uptime. >> > > >> > > Does this make sense? Opinions? >> > > >> > > Patrick >> > >> > Alternatively it might be nicer to still use the uptime, but only return >> > the delta since it was enabled. >> > >> >> I see nothing wrong with this diff. OK mikeb > > On the one where we return the delta instead of an absolute time? >
It's only a status. You might have to go through ports that expect a timestamp and fix those, but that's a different question :-)