From 611ba57c995eef193a9661c19b3531a1bc44404a Mon Sep 17 00:00:00 2001 From: Ted Lemon Date: Sun, 8 Apr 2001 21:12:49 +0000 Subject: [PATCH] Fix an incorrect use of BPF_WORDALIGN --- common/bpf.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/common/bpf.c b/common/bpf.c index 5e8214bf6..49af907dc 100644 --- a/common/bpf.c +++ b/common/bpf.c @@ -47,7 +47,7 @@ #ifndef lint static char copyright[] = -"$Id: bpf.c,v 1.47 2001/04/05 20:47:34 mellon Exp $ Copyright (c) 1995-2000 The Internet Software Consortium. All rights reserved.\n"; +"$Id: bpf.c,v 1.48 2001/04/08 21:12:49 mellon Exp $ Copyright (c) 1995-2000 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -500,8 +500,7 @@ ssize_t receive_packet (interface, buf, len, from, hfrom) hdr.bh_caplen); continue; } - interface -> rbuf_offset = - BPF_WORDALIGN (interface -> rbuf_offset + offset); + interface -> rbuf_offset = interface -> rbuf_offset + offset; hdr.bh_caplen -= offset; /* If there's not enough room to stash the packet data, -- 2.47.3