summaryrefslogtreecommitdiffstats
path: root/config.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 /config.h
parent79d4dc886900653fd38b6d7ab36009403dee370b (diff)
downloaddhcpcd-79f58b5d886cef4a517845062d5ba1aaae9ef421.tar.xz
Allow userclass to be compiled out.
Diffstat (limited to 'config.h')
-rw-r--r--config.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/config.h b/config.h
index eb4e90a2..68846f51 100644
--- a/config.h
+++ b/config.h
@@ -45,6 +45,9 @@
# ifndef DISABLE_DUID
# define DISABLE_DUID
# endif
+# ifndef DISABLE_USERCLASS
+# define DISABLE_USERCLASS
+# endif
# ifndef DISABLE_VENDOR
# define DISABLE_VENDOR
# endif
@@ -82,6 +85,11 @@
# define ENABLE_DUID
#endif
+/* Allow dhcpcd to send user class options. */
+#ifndef DISABLE_USERCLASS
+# define ENABLE_USERCLASS
+#endif
+
/* Allow dhcpcd to send encapsulated vendor options (code 43).
* Although this is enabled by default, only custom networks would really
* need it. */