summaryrefslogtreecommitdiff
path: root/sbin/dhclient/dhcpd.h
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2017-12-09 15:48:05 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2017-12-09 15:48:05 +0000
commitb192a17a3a2d6279f8b39d513056d29b5c00bad5 (patch)
tree15d705f14c5776dd70ea28f944dd19839c0133a1 /sbin/dhclient/dhcpd.h
parent4a4bc410a78e4fef659e78d2eb3ab3a6ca496263 (diff)
Add ACTION_IGNORE and nuke ignored_options, ignored_option_count fields
in struct client_config.
Diffstat (limited to 'sbin/dhclient/dhcpd.h')
-rw-r--r--sbin/dhclient/dhcpd.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/sbin/dhclient/dhcpd.h b/sbin/dhclient/dhcpd.h
index 6b46965fce4..8e337255a2c 100644
--- a/sbin/dhclient/dhcpd.h
+++ b/sbin/dhclient/dhcpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: dhcpd.h,v 1.240 2017/12/07 19:03:15 krw Exp $ */
+/* $OpenBSD: dhcpd.h,v 1.241 2017/12/09 15:48:04 krw Exp $ */
/*
* Copyright (c) 2004 Henning Brauer <henning@openbsd.org>
@@ -88,7 +88,8 @@ struct client_config {
ACTION_DEFAULT,
ACTION_SUPERSEDE,
ACTION_PREPEND,
- ACTION_APPEND
+ ACTION_APPEND,
+ ACTION_IGNORE
} default_actions[DHO_COUNT];
struct in_addr address;
@@ -96,10 +97,8 @@ struct client_config {
struct option_data send_options[DHO_COUNT];
uint8_t required_options[DHO_COUNT];
uint8_t requested_options[DHO_COUNT];
- uint8_t ignored_options[DHO_COUNT];
int requested_option_count;
int required_option_count;
- int ignored_option_count;
time_t timeout;
time_t initial_interval;
time_t link_timeout;