diff options
author | murray <murray@FreeBSD.org> | 2002-09-30 08:39:27 +0000 |
---|---|---|
committer | murray <murray@FreeBSD.org> | 2002-09-30 08:39:27 +0000 |
commit | a0b500f866e54d9ce8def00d72daac852505461e (patch) | |
tree | 359b47391748afceb1567d1ce2a0fca3fb6dc676 /contrib/isc-dhcp/common/bpf.c | |
parent | a916d35e05e0f886097009e26d33c65a1ea5c370 (diff) | |
download | FreeBSD-src-a0b500f866e54d9ce8def00d72daac852505461e.zip FreeBSD-src-a0b500f866e54d9ce8def00d72daac852505461e.tar.gz |
Import ISC DHCP 3.0.1 RC9 client.
Diffstat (limited to 'contrib/isc-dhcp/common/bpf.c')
-rw-r--r-- | contrib/isc-dhcp/common/bpf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/isc-dhcp/common/bpf.c b/contrib/isc-dhcp/common/bpf.c index 49af907..6ca91bb 100644 --- a/contrib/isc-dhcp/common/bpf.c +++ b/contrib/isc-dhcp/common/bpf.c @@ -47,7 +47,7 @@ #ifndef lint static char copyright[] = -"$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"; +"$Id: bpf.c,v 1.48.2.1 2002/04/30 05:12:53 murray Exp $ Copyright (c) 1995-2000 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -421,7 +421,7 @@ ssize_t receive_packet (interface, buf, len, from, hfrom) if (interface -> rbuf_offset == interface -> rbuf_len) { length = read (interface -> rfdesc, interface -> rbuf, - interface -> rbuf_max); + (size_t)interface -> rbuf_max); if (length <= 0) { if (errno == EIO) { dhcp_interface_remove |