diff options
author | 2013-12-18 13:40:08 +0000 | |
---|---|---|
committer | 2013-12-18 13:40:08 +0000 | |
commit | 69a0cb548de2d9a87b4127d428d91ed60382f082 (patch) | |
tree | 9ebbb7424455d392a598b36a6fee1041d21f01d7 | |
parent | Adapt nsd(1) comment to match the default daemon_flags of the rc.d script. (diff) | |
download | wireguard-openbsd-69a0cb548de2d9a87b4127d428d91ed60382f082.tar.xz wireguard-openbsd-69a0cb548de2d9a87b4127d428d91ed60382f082.zip |
Revert the *other* part of bpf.c's r1.84. May finally fix RD Thrush's
encounter with "timeout_add: to_ticks (-1) < 0". Pointed out by RD
Thrush.
-rw-r--r-- | sys/net/bpfdesc.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/net/bpfdesc.h b/sys/net/bpfdesc.h index 700e91d8eca..799c6c6b2c8 100644 --- a/sys/net/bpfdesc.h +++ b/sys/net/bpfdesc.h @@ -1,4 +1,4 @@ -/* $OpenBSD: bpfdesc.h,v 1.21 2013/11/12 01:12:09 dlg Exp $ */ +/* $OpenBSD: bpfdesc.h,v 1.22 2013/12/18 13:40:08 krw Exp $ */ /* $NetBSD: bpfdesc.h,v 1.11 1995/09/27 18:30:42 thorpej Exp $ */ /* @@ -67,8 +67,8 @@ struct bpf_d { int bd_bufsize; /* absolute length of buffers */ struct bpf_if * bd_bif; /* interface descriptor */ - int bd_rtout; /* Read timeout in 'ticks' */ - int bd_rdStart; /* when the read started */ + u_long bd_rtout; /* Read timeout in 'ticks' */ + u_long bd_rdStart; /* when the read started */ struct bpf_insn *bd_rfilter; /* read filter code */ struct bpf_insn *bd_wfilter; /* write filter code */ u_long bd_rcount; /* number of packets received */ |