From ba136d4fea46d387280ae16393d2762652599a67 Mon Sep 17 00:00:00 2001 From: Alexander Langer Date: Sun, 4 Oct 1998 21:53:59 +0000 Subject: [PATCH] Change BPF_ALIGNMENT to long, necessary for correct alignment on Alpha. --- sys/net/bpf.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/net/bpf.h b/sys/net/bpf.h index eb575e25d3cf..cc3ed962e7b9 100644 --- a/sys/net/bpf.h +++ b/sys/net/bpf.h @@ -38,7 +38,7 @@ * @(#)bpf.h 8.1 (Berkeley) 6/10/93 * @(#)bpf.h 1.34 (LBL) 6/16/96 * - * $Id: bpf.h,v 1.14 1998/08/18 10:13:11 ache Exp $ + * $Id: bpf.h,v 1.15 1998/09/15 19:35:37 fenner Exp $ */ #ifndef _NET_BPF_H_ @@ -54,7 +54,7 @@ typedef u_int32_t bpf_u_int32; * Alignment macros. BPF_WORDALIGN rounds up to the next * even multiple of BPF_ALIGNMENT. */ -#define BPF_ALIGNMENT sizeof(bpf_int32) +#define BPF_ALIGNMENT sizeof(long) #define BPF_WORDALIGN(x) (((x)+(BPF_ALIGNMENT-1))&~(BPF_ALIGNMENT-1)) #define BPF_MAXINSNS 512