openbsd-ports/net/wide-dhcp/patches/patch-server_delarp.c
avsm a0882217cf commit this three-month old patch that was posted to ports@ with no
response.  Does anyone out there use this port at all?  It was broken,
this unbreaks it by FAKEing it, but there's noone using it to test
it out....
2001-01-09 20:49:33 +00:00

54 lines
971 B
C

*** server/delarp.c.orig Thu Sep 11 08:28:58 1997
--- server/delarp.c Mon Aug 17 17:16:09 1998
***************
*** 37,43 ****
* SUCH DAMAGE.
*/
! #ifndef lint
static char sccsid[] = "@(#)arp.c 8.2 (Berkeley) 1/2/94";
#endif /* not lint */
--- 37,43 ----
* SUCH DAMAGE.
*/
! #if defined(LIBC_SCCS) && !defined(lint)
static char sccsid[] = "@(#)arp.c 8.2 (Berkeley) 1/2/94";
#endif /* not lint */
***************
*** 60,66 ****
#include <syslog.h>
! #if defined(__bsdi__) || (__FreeBSD__ >= 2)
/*
* delarp for BSD/OS 2.*
*/
--- 60,66 ----
#include <syslog.h>
! #if defined(__bsdi__) || (__FreeBSD__ >= 2) || defined(__OpenBSD__)
/*
* delarp for BSD/OS 2.*
*/
***************
*** 184,190 ****
#else
/*
! * it is not BSD/OS 2.* nor FreeBSD
*/
#include <sys/ioctl.h>
--- 184,190 ----
#else
/*
! * it is not BSD/OS 2.* not FreeBSD nor OpenBSD
*/
#include <sys/ioctl.h>