aboutsummaryrefslogtreecommitdiff
path: root/networking/udhcp/dhcpc.h
diff options
context:
space:
mode:
Diffstat (limited to 'networking/udhcp/dhcpc.h')
-rw-r--r--networking/udhcp/dhcpc.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/networking/udhcp/dhcpc.h b/networking/udhcp/dhcpc.h
index 5c710963f..cd9ead6bd 100644
--- a/networking/udhcp/dhcpc.h
+++ b/networking/udhcp/dhcpc.h
@@ -8,8 +8,7 @@
8PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN 8PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN
9 9
10struct client_data_t { 10struct client_data_t {
11 uint8_t clientid[2+2 + 6]; /* Our mac address (prefixed by padding used for client-id) */ 11 uint8_t client_mac[6]; /* Our mac address */
12#define client_data_client_mac (client_data.clientid + 2+2)
13 IF_FEATURE_UDHCP_PORT(uint16_t port;) 12 IF_FEATURE_UDHCP_PORT(uint16_t port;)
14 int ifindex; /* Index number of the interface to use */ 13 int ifindex; /* Index number of the interface to use */
15 uint8_t opt_mask[256 / 8]; /* Bitmask of options to send (-O option) */ 14 uint8_t opt_mask[256 / 8]; /* Bitmask of options to send (-O option) */
@@ -18,7 +17,6 @@ struct client_data_t {
18 char *pidfile; /* Optionally store the process ID */ 17 char *pidfile; /* Optionally store the process ID */
19 const char *script; /* User script to run at dhcp events */ 18 const char *script; /* User script to run at dhcp events */
20 struct option_set *options; /* list of DHCP options to send to server */ 19 struct option_set *options; /* list of DHCP options to send to server */
21 uint8_t *fqdn; /* Optional fully qualified domain name to use */
22 llist_t *envp; /* list of DHCP options used for env vars */ 20 llist_t *envp; /* list of DHCP options used for env vars */
23 21
24 unsigned first_secs; 22 unsigned first_secs;