summaryrefslogtreecommitdiffstats
path: root/dhcpcd.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-07-28 13:21:47 +0000
committerRoy Marples <roy@marples.name>2008-07-28 13:21:47 +0000
commiteceefd55549c60544e0303f1fb5101bbb4f6d17e (patch)
treec24a75c02b7c5e86cfe73226709aaf75d5de900f /dhcpcd.h
parent8d1fbeec1a4167bf1cb9d17decbe110f022df34a (diff)
downloaddhcpcd-eceefd55549c60544e0303f1fb5101bbb4f6d17e.tar.xz
Add -X, --blacklist option to reject DHCP messages with a matching serverid.
Diffstat (limited to 'dhcpcd.h')
-rw-r--r--dhcpcd.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/dhcpcd.h b/dhcpcd.h
index b06f5da1..c9a42e1c 100644
--- a/dhcpcd.h
+++ b/dhcpcd.h
@@ -93,5 +93,8 @@ struct options {
char clientid[CLIENTID_MAX_LEN + 1];
uint8_t userclass[USERCLASS_MAX_LEN + 1];
uint8_t vendor[VENDOR_MAX_LEN + 1];
+
+ size_t blacklist_len;
+ in_addr_t *blacklist;
};
#endif