diff options
author | murray <murray@FreeBSD.org> | 2003-01-15 10:31:26 +0000 |
---|---|---|
committer | murray <murray@FreeBSD.org> | 2003-01-15 10:31:26 +0000 |
commit | 2ed5602e5196c1762c193f0331a09ffa07c1c6de (patch) | |
tree | 7117af36f2535a688659d78318f520e69dba490c /contrib/isc-dhcp/common/bpf.c | |
parent | 2ddffe4aa071a1ad7bfa3edaa4c5be617e00d69c (diff) | |
parent | 017255e081bcbadf47f5affc7eea7c047e38a70f (diff) | |
download | FreeBSD-src-2ed5602e5196c1762c193f0331a09ffa07c1c6de.zip FreeBSD-src-2ed5602e5196c1762c193f0331a09ffa07c1c6de.tar.gz |
This commit was generated by cvs2svn to compensate for changes in r109298,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'contrib/isc-dhcp/common/bpf.c')
-rw-r--r-- | contrib/isc-dhcp/common/bpf.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/contrib/isc-dhcp/common/bpf.c b/contrib/isc-dhcp/common/bpf.c index 6ca91bb..c59c571 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.2.1 2002/04/30 05:12:53 murray Exp $ Copyright (c) 1995-2000 The Internet Software Consortium. All rights reserved.\n"; +"$Id: bpf.c,v 1.48.2.2 2002/06/08 09:29:16 murray Exp $ Copyright (c) 1995-2000 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -423,7 +423,11 @@ ssize_t receive_packet (interface, buf, len, from, hfrom) interface -> rbuf, (size_t)interface -> rbuf_max); if (length <= 0) { +#ifdef __FreeBSD__ + if (errno == ENXIO) { +#else if (errno == EIO) { +#endif dhcp_interface_remove ((omapi_object_t *)interface, (omapi_object_t *)0); |