mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-09-01 06:45:27 +00:00
Work around Linux 2.4 Token Ring problem.
This commit is contained in:
@@ -43,7 +43,7 @@
|
|||||||
|
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
static char copyright[] =
|
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 */
|
#endif /* not lint */
|
||||||
|
|
||||||
#include "dhcpd.h"
|
#include "dhcpd.h"
|
||||||
@@ -461,6 +461,9 @@ void discover_interfaces (state)
|
|||||||
|
|
||||||
#ifndef HAVE_ARPHRD_IEEE802
|
#ifndef HAVE_ARPHRD_IEEE802
|
||||||
# define ARPHRD_IEEE802 HTYPE_IEEE802
|
# define ARPHRD_IEEE802 HTYPE_IEEE802
|
||||||
|
#endif
|
||||||
|
#if defined (HAVE_ARPHRD_IEEE802_TR)
|
||||||
|
case ARPHRD_IEEE802_TR:
|
||||||
#endif
|
#endif
|
||||||
case ARPHRD_IEEE802:
|
case ARPHRD_IEEE802:
|
||||||
tmp -> hw_address.hlen = 7;
|
tmp -> hw_address.hlen = 7;
|
||||||
|
@@ -132,6 +132,9 @@ extern int h_errno;
|
|||||||
# endif
|
# endif
|
||||||
# define HAVE_ARPHRD_METRICOM
|
# define HAVE_ARPHRD_METRICOM
|
||||||
# define HAVE_ARPHRD_IEEE802
|
# define HAVE_ARPHRD_IEEE802
|
||||||
|
# if (LINUX_MINOR >= 4)
|
||||||
|
# define HAVE_ARPHRD_IEEE802_TR
|
||||||
|
# endif
|
||||||
# define HAVE_ARPHRD_LOOPBACK
|
# define HAVE_ARPHRD_LOOPBACK
|
||||||
# define HAVE_SO_BINDTODEVICE
|
# define HAVE_SO_BINDTODEVICE
|
||||||
# define HAVE_SIOCGIFHWADDR
|
# define HAVE_SIOCGIFHWADDR
|
||||||
|
Reference in New Issue
Block a user