summaryrefslogtreecommitdiff
path: root/usr.sbin/dhcpd/dhcp.h
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2013-01-13 18:38:03 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2013-01-13 18:38:03 +0000
commita1ce9547df5c47aa2649fa4a8678252ceaa8b8bc (patch)
tree65da8e3932a706751433dd68cb8c4a691a54afeb /usr.sbin/dhcpd/dhcp.h
parent09a172c9fef23259ba700d87581ef076d5a02ecb (diff)
Tweak whitespace, add missing #defines, use DHO_RELAY_AGENT_INFORMATION
rather than DHO_DHCP_AGENT_OPTIONS. Makes these files identical again.
Diffstat (limited to 'usr.sbin/dhcpd/dhcp.h')
-rw-r--r--usr.sbin/dhcpd/dhcp.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.sbin/dhcpd/dhcp.h b/usr.sbin/dhcpd/dhcp.h
index 5f1e8ce4d5a..ec94a633119 100644
--- a/usr.sbin/dhcpd/dhcp.h
+++ b/usr.sbin/dhcpd/dhcp.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: dhcp.h,v 1.7 2013/01/13 18:24:23 krw Exp $ */
+/* $OpenBSD: dhcp.h,v 1.8 2013/01/13 18:38:02 krw Exp $ */
/* Protocol structures... */
@@ -87,8 +87,9 @@ struct dhcp_packet {
/* Magic cookie validating dhcp options field (and bootp vendor
extensions field). */
-#define DHCP_OPTIONS_COOKIE "\143\202\123\143"
-#define DHCP_OPTIONS_COOKIE_LEN 4
+#define DHCP_OPTIONS_COOKIE "\143\202\123\143"
+#define DHCP_OPTIONS_COOKIE_LEN 4
+#define DHCP_OPTIONS_MESSAGE_TYPE "\065\001\000"
/* DHCP Option codes: */