summaryrefslogtreecommitdiffstats
path: root/dhcpcd.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-08-13 21:29:30 +0000
committerRoy Marples <roy@marples.name>2008-08-13 21:29:30 +0000
commit7b1ae6d97bfd6191bba5108ff6b2dea8237b9cbb (patch)
tree69a06be9b9fe5a08391d30e468ea55906c170ec4 /dhcpcd.h
parentc22ce5910d50c60031684fb3ef654d4c819c3858 (diff)
downloaddhcpcd-7b1ae6d97bfd6191bba5108ff6b2dea8237b9cbb.tar.xz
classid -> vendorclassid to match the RFC description.
Diffstat (limited to 'dhcpcd.h')
-rw-r--r--dhcpcd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/dhcpcd.h b/dhcpcd.h
index 07ceee6e..dc7cff41 100644
--- a/dhcpcd.h
+++ b/dhcpcd.h
@@ -42,7 +42,7 @@
#define DEFAULT_LEASETIME 3600 /* 1 hour */
#define HOSTNAME_MAX_LEN 250 /* 255 - 3 (FQDN) - 2 (DNS enc) */
-#define CLASSID_MAX_LEN 48
+#define VENDORCLASSID_MAX_LEN 48
#define CLIENTID_MAX_LEN 48
#define USERCLASS_MAX_LEN 255
#define VENDOR_MAX_LEN 255
@@ -83,7 +83,7 @@ struct options {
char hostname[HOSTNAME_MAX_LEN + 1];
int fqdn;
- uint8_t classid[CLASSID_MAX_LEN + 1];
+ uint8_t vendorclassid[VENDORCLASSID_MAX_LEN + 1];
char clientid[CLIENTID_MAX_LEN + 1];
uint8_t userclass[USERCLASS_MAX_LEN + 1];
uint8_t vendor[VENDOR_MAX_LEN + 1];