summaryrefslogtreecommitdiff
path: root/includes/osdep.h
diff options
context:
space:
mode:
authorShawn Routhier <sar@isc.org>2012-06-08 23:28:11 +0000
committerShawn Routhier <sar@isc.org>2012-06-08 23:28:11 +0000
commit32e651c41804c06f764fd53540384f1e4fcd7309 (patch)
tree480c0ef0d285239774ff92da88db8a2dd602c021 /includes/osdep.h
parent6980ae03c3b877d07557479b93d2276ab49560ac (diff)
downloadisc-dhcp-32e651c41804c06f764fd53540384f1e4fcd7309.tar.gz
A problem with missing get_hw_addr function when --enable-use-sockets
was used is now solved on GNU/Linux, BSD and GNU/Hurd systems. Note that use-sockets feature was not tested on those systems. Client and server code no longer use MAX_PATH constant that is not defined on GNU/Hurd systems. [ISC-Bugs 25979]
Diffstat (limited to 'includes/osdep.h')
-rw-r--r--includes/osdep.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/includes/osdep.h b/includes/osdep.h
index a8d8bb78..792dc90d 100644
--- a/includes/osdep.h
+++ b/includes/osdep.h
@@ -108,6 +108,10 @@
# define USE_SOCKET_RECEIVE
# if defined(HAVE_DLPI)
# define USE_DLPI_HWADDR
+# elif defined(HAVE_LPF)
+# define USE_LPF_HWADDR
+# elif defined(HAVE_BPF)
+# define USE_BPF_HWADDR
# endif
#endif