summaryrefslogtreecommitdiffstats
path: root/usr.sbin/dhcpd/dhcpd.h
diff options
context:
space:
mode:
authoryasuoka <yasuoka@openbsd.org>2014-07-11 16:48:29 +0000
committeryasuoka <yasuoka@openbsd.org>2014-07-11 16:48:29 +0000
commitfc9106f9ddf0b4aa5c834b8c26bc2f96949b6603 (patch)
treef826fa8e414705e3bf31b091a8a25eda40a8885b /usr.sbin/dhcpd/dhcpd.h
parentcreate /etc/examples (diff)
downloadwireguard-openbsd-fc9106f9ddf0b4aa5c834b8c26bc2f96949b6603.tar.xz
wireguard-openbsd-fc9106f9ddf0b4aa5c834b8c26bc2f96949b6603.zip
Fix DHCPINFORM not to lookup the lease database, not to fill the yiaddr
field and not to include the lease time parameters. ok krw
Diffstat (limited to 'usr.sbin/dhcpd/dhcpd.h')
-rw-r--r--usr.sbin/dhcpd/dhcpd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/dhcpd/dhcpd.h b/usr.sbin/dhcpd/dhcpd.h
index e13a52be339..87323ce01cd 100644
--- a/usr.sbin/dhcpd/dhcpd.h
+++ b/usr.sbin/dhcpd/dhcpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: dhcpd.h,v 1.51 2014/07/11 09:42:27 yasuoka Exp $ */
+/* $OpenBSD: dhcpd.h,v 1.52 2014/07/11 16:48:29 yasuoka Exp $ */
/*
* Copyright (c) 1995, 1996, 1997, 1998, 1999
@@ -180,6 +180,7 @@ struct lease {
#define EPHEMERAL_FLAGS (BOOTP_LEASE)
#define MS_NULL_TERMINATION 8
#define ABANDONED_LEASE 16
+#define INFORM_NOLEASE 32
struct lease_state *state;
u_int8_t releasing;