2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-31 14:25:41 +00:00

Work around Linux 2.4 Token Ring problem.

This commit is contained in:
Ted Lemon
2001-04-09 01:03:14 +00:00
parent fd547e9817
commit c267626033
2 changed files with 7 additions and 1 deletions

View File

@@ -43,7 +43,7 @@
#ifndef lint
static char copyright[] =
"$Id: discover.c,v 1.40 2001/04/05 20:50:19 mellon Exp $ Copyright (c) 1995-2001 The Internet Software Consortium. All rights reserved.\n";
"$Id: discover.c,v 1.41 2001/04/09 01:03:12 mellon Exp $ Copyright (c) 1995-2001 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
@@ -461,6 +461,9 @@ void discover_interfaces (state)
#ifndef HAVE_ARPHRD_IEEE802
# define ARPHRD_IEEE802 HTYPE_IEEE802
#endif
#if defined (HAVE_ARPHRD_IEEE802_TR)
case ARPHRD_IEEE802_TR:
#endif
case ARPHRD_IEEE802:
tmp -> hw_address.hlen = 7;

View File

@@ -132,6 +132,9 @@ extern int h_errno;
# endif
# define HAVE_ARPHRD_METRICOM
# define HAVE_ARPHRD_IEEE802
# if (LINUX_MINOR >= 4)
# define HAVE_ARPHRD_IEEE802_TR
# endif
# define HAVE_ARPHRD_LOOPBACK
# define HAVE_SO_BINDTODEVICE
# define HAVE_SIOCGIFHWADDR