summaryrefslogtreecommitdiffstats
path: root/dhcpcd.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-07-02 17:05:41 +0000
committerRoy Marples <roy@marples.name>2008-07-02 17:05:41 +0000
commit261eb2d41fd97a4bdfb04eac99af3c693701157b (patch)
treeaafba33df2b90524c2a444a71eded740544256a7 /dhcpcd.h
parent0951a1c048ca5da7f75c75cccaef8b538e511f11 (diff)
downloaddhcpcd-261eb2d41fd97a4bdfb04eac99af3c693701157b.tar.xz
Remove previous toggles for classid, clientid, userclass and vendor - they call *could* be required for DHCP. Add a string parser and process all user strings through it.
Diffstat (limited to 'dhcpcd.h')
-rw-r--r--dhcpcd.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/dhcpcd.h b/dhcpcd.h
index 21ddf699..4f2c841c 100644
--- a/dhcpcd.h
+++ b/dhcpcd.h
@@ -73,18 +73,10 @@ struct options {
char interface[IF_NAMESIZE];
char hostname[MAXHOSTNAMELEN];
int fqdn;
-#ifdef ENABLE_CLASSID
uint8_t classid[CLASSID_MAX_LEN + 1];
-#endif
-#ifdef ENABLE_CLIENTID
char clientid[CLIENTID_MAX_LEN + 1];
-#endif
-#ifdef ENABLE_USERCLASS
uint8_t userclass[USERCLASS_MAX_LEN + 1];
-#endif
-#ifdef ENABLE_VENDOR
uint8_t vendor[VENDOR_MAX_LEN + 1];
-#endif
uint8_t reqmask[256 / 8];
uint8_t nomask[256 / 8];
uint32_t leasetime;