summaryrefslogtreecommitdiffstats
path: root/dhcpcd.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-06-30 16:15:29 +0000
committerRoy Marples <roy@marples.name>2008-06-30 16:15:29 +0000
commit79f58b5d886cef4a517845062d5ba1aaae9ef421 (patch)
tree80b735e7dc83fd16616b208c394d0ccdef654116 /dhcpcd.h
parent79d4dc886900653fd38b6d7ab36009403dee370b (diff)
downloaddhcpcd-79f58b5d886cef4a517845062d5ba1aaae9ef421.tar.xz
Allow userclass to be compiled out.
Diffstat (limited to 'dhcpcd.h')
-rw-r--r--dhcpcd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/dhcpcd.h b/dhcpcd.h
index 8f2224af..ea0769b8 100644
--- a/dhcpcd.h
+++ b/dhcpcd.h
@@ -75,7 +75,9 @@ struct options {
int fqdn;
uint8_t classid[CLASSID_MAX_LEN + 1];
char clientid[CLIENTID_MAX_LEN + 1];
+#ifdef ENABLE_USERCLASS
uint8_t userclass[USERCLASS_MAX_LEN + 1];
+#endif
#ifdef ENABLE_VENDOR
uint8_t vendor[VENDOR_MAX_LEN + 1];
#endif