diff options
| author | Roy Marples <roy@marples.name> | 2008-08-13 21:29:30 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2008-08-13 21:29:30 +0000 |
| commit | 7b1ae6d97bfd6191bba5108ff6b2dea8237b9cbb (patch) | |
| tree | 69a06be9b9fe5a08391d30e468ea55906c170ec4 /dhcp.c | |
| parent | c22ce5910d50c60031684fb3ef654d4c819c3858 (diff) | |
| download | dhcpcd-7b1ae6d97bfd6191bba5108ff6b2dea8237b9cbb.tar.xz | |
classid -> vendorclassid to match the RFC description.
Diffstat (limited to 'dhcp.c')
| -rw-r--r-- | dhcp.c | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -828,10 +828,11 @@ make_message(struct dhcp_message **message, p += options->userclass[0] + 1; } - if (options->classid[0]) { - *p++ = DHO_CLASSID; - memcpy(p, options->classid, options->classid[0] + 1); - p += options->classid[0] + 1; + if (options->vendorclassid[0]) { + *p++ = DHO_VENDORCLASSID; + memcpy(p, options->vendorclassid, + options->vendorclassid[0] + 1); + p += options->vendorclassid[0] + 1; } } |
