summaryrefslogtreecommitdiff
path: root/networking/udhcp/dhcpc.h
diff options
context:
space:
mode:
authorPaul Fox2005-09-22 18:59:13 +0000
committerPaul Fox2005-09-22 18:59:13 +0000
commit28de951b022d39516de271ce0ba53560aa3c5555 (patch)
treef5924f07643c8712acb65115bd50a7aa9ddb3603 /networking/udhcp/dhcpc.h
parent2f9c30a2d567ba7bdb6351e0167eb0b59735b898 (diff)
downloadbusybox-28de951b022d39516de271ce0ba53560aa3c5555.zip
busybox-28de951b022d39516de271ce0ba53560aa3c5555.tar.gz
add support for setting the dhcp vendor class option (option 60).
udhcpc now has a -V (--vendorclass), which will replace the default "udhcpRELEASE" string in this option.
Diffstat (limited to 'networking/udhcp/dhcpc.h')
-rw-r--r--networking/udhcp/dhcpc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/networking/udhcp/dhcpc.h b/networking/udhcp/dhcpc.h
index 77c1809..4cc1c4c 100644
--- a/networking/udhcp/dhcpc.h
+++ b/networking/udhcp/dhcpc.h
@@ -26,6 +26,7 @@ struct client_config_t {
char *pidfile; /* Optionally store the process ID */
char *script; /* User script to run at dhcp events */
uint8_t *clientid; /* Optional client id to use */
+ uint8_t *vendorclass; /* Optional vendor class-id to use */
uint8_t *hostname; /* Optional hostname to use */
uint8_t *fqdn; /* Optional fully qualified domain name to use */
int ifindex; /* Index number of the interface to use */