summaryrefslogtreecommitdiff
path: root/sbin/dhclient/dhcp.h
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/dhclient/dhcp.h')
-rw-r--r--sbin/dhclient/dhcp.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sbin/dhclient/dhcp.h b/sbin/dhclient/dhcp.h
index 731f8a97054..c0dc07c1e99 100644
--- a/sbin/dhclient/dhcp.h
+++ b/sbin/dhclient/dhcp.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: dhcp.h,v 1.17 2014/01/21 03:07:50 krw Exp $ */
+/* $OpenBSD: dhcp.h,v 1.18 2015/10/26 16:32:33 krw Exp $ */
/* Protocol structures. */
@@ -50,6 +50,10 @@
#define DHCP_MTU_MAX 1500
#define DHCP_OPTION_LEN (DHCP_MTU_MAX - DHCP_FIXED_LEN)
+/* Respect historical limits on 'search' line in resolv.conf(5) */
+#define DHCP_DOMAIN_SEARCH_LEN 1024
+#define DHCP_DOMAIN_SEARCH_CNT 6
+
#define BOOTP_MIN_LEN 300
struct dhcp_packet {
@@ -171,6 +175,7 @@ struct dhcp_packet {
#define DHO_NDS_SERVERS 85
#define DHO_NDS_TREE_NAME 86
#define DHO_NDS_CONTEXT 87
+#define DHO_DOMAIN_SEARCH 119
#define DHO_CLASSLESS_STATIC_ROUTES 121
#define DHO_TFTP_CONFIG_FILE 144
#define DHO_VOIP_CONFIGURATION_SERVER 150