diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2002-02-15 15:42:53 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2002-02-15 15:42:53 +0000 |
commit | 4bb99082b74c820e4665be24e3649e0de5ef569d (patch) | |
tree | 7c3782b6b84dd4eed46ca51c917a8fb60a49534d /sbin/ccdconfig/pathnames.h | |
parent | 6476f7a4c299712315d33a35e02e2e99f8288e79 (diff) |
pf only uses seconds for time measuring. There is no need to call microtime
on every packet. Use time.tv_sec to get seconds. In the places where
it seemed to matter, make sure that time doesn't change under our feet.
And it's really unnecessary to do a test on every packet when the test will
only fire once every 10 seconds. That's a real waste of time, that's
what we have timeouts for.
ok frantzen@
Diffstat (limited to 'sbin/ccdconfig/pathnames.h')
0 files changed, 0 insertions, 0 deletions