Subject: CVS commit: src/dist/dhcp
To: None <source-changes@NetBSD.org>
From: Perry E. Metzger <perry@netbsd.org>
List: source-changes
Date: 10/22/2004 05:22:39
Module Name:	src
Committed By:	perry
Date:		Fri Oct 22 05:22:39 UTC 2004

Modified Files:
	src/dist/dhcp/common: bpf.c packet.c
	src/dist/dhcp/includes: dhcpd.h

Log Message:
Use packet length from IP header instead of packet length from BPF
header.
Patches given to me by Ted Lemon.
This avoids using potentially garbage data returned if the ethernet
driver returns a packet that's too long.


To generate a diff of this commit:
cvs rdiff -r1.7 -r1.8 src/dist/dhcp/common/bpf.c
cvs rdiff -r1.4 -r1.5 src/dist/dhcp/common/packet.c
cvs rdiff -r1.7 -r1.8 src/dist/dhcp/includes/dhcpd.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.