diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2008-11-26 18:01:44 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2008-11-26 18:01:44 +0000 |
commit | a6c13e1ab4255c9bc04b6526e72e4658e7ac6629 (patch) | |
tree | 00a1ef2557dc7f9bb1ad6987a4bcbb87f6912a62 /sys/net/if_pflow.c | |
parent | a529987a8d6428837e165f359dfeb929ab42365c (diff) |
dont have bpf.h expose the kernel ticks variable wherever it is includeing.
it is very confusing like this.
ok deraadt@ canacar@
Diffstat (limited to 'sys/net/if_pflow.c')
-rw-r--r-- | sys/net/if_pflow.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/net/if_pflow.c b/sys/net/if_pflow.c index 515a31fed22..fb04229b7f5 100644 --- a/sys/net/if_pflow.c +++ b/sys/net/if_pflow.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_pflow.c,v 1.7 2008/10/28 15:51:27 gollo Exp $ */ +/* $OpenBSD: if_pflow.c,v 1.8 2008/11/26 18:01:43 dlg Exp $ */ /* * Copyright (c) 2008 Henning Brauer <henning@openbsd.org> @@ -91,6 +91,9 @@ struct if_clone pflow_cloner = extern int ipport_hifirstauto; extern int ipport_hilastauto; +/* from kern/kern_clock.c; incremented each clock tick. */ +extern int ticks; + void pflowattach(int npflow) { |