Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/usr.sbin/dhcp/common Pull up revision 1.10 (requested b...



details:   https://anonhg.NetBSD.org/src/rev/b46bbd54e786
branches:  netbsd-1-5
changeset: 491283:b46bbd54e786
user:      he <he%NetBSD.org@localhost>
date:      Sat Apr 21 20:29:23 2001 +0000

description:
Pull up revision 1.10 (requested by mellon):
  Fix PR#12572.   Without this fix, the DHCP client and server will
  not work on NetBSD/alpha.

diffstat:

 usr.sbin/dhcp/common/bpf.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (22 lines):

diff -r 3a5d536c178f -r b46bbd54e786 usr.sbin/dhcp/common/bpf.c
--- a/usr.sbin/dhcp/common/bpf.c        Sat Apr 21 20:20:27 2001 +0000
+++ b/usr.sbin/dhcp/common/bpf.c        Sat Apr 21 20:29:23 2001 +0000
@@ -47,7 +47,7 @@
 
 #ifndef lint
 static char copyright[] =
-"$Id: bpf.c,v 1.3.2.4 2001/04/21 19:42:04 he Exp $ Copyright (c) 1995-2000 The Internet Software Consortium.  All rights reserved.\n";
+"$Id: bpf.c,v 1.3.2.5 2001/04/21 20:29:23 he Exp $ Copyright (c) 1995-2000 The Internet Software Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 #include "dhcpd.h"
@@ -504,8 +504,7 @@
                                               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,



Home | Main Index | Thread Index | Old Index