diff options
-rw-r--r-- | networking/udhcp/dhcpc.h | 2 | ||||
-rw-r--r-- | networking/udhcp/dhcpd.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/networking/udhcp/dhcpc.h b/networking/udhcp/dhcpc.h index 9bb1ac2af..dfab2368c 100644 --- a/networking/udhcp/dhcpc.h +++ b/networking/udhcp/dhcpc.h | |||
@@ -19,7 +19,7 @@ struct client_config_t { | |||
19 | uint8_t *vendorclass; /* Optional vendor class-id to use */ | 19 | uint8_t *vendorclass; /* Optional vendor class-id to use */ |
20 | uint8_t *hostname; /* Optional hostname to use */ | 20 | uint8_t *hostname; /* Optional hostname to use */ |
21 | uint8_t *fqdn; /* Optional fully qualified domain name to use */ | 21 | uint8_t *fqdn; /* Optional fully qualified domain name to use */ |
22 | }; | 22 | } FIX_ALIASING; |
23 | 23 | ||
24 | /* server_config sits in 1st half of bb_common_bufsiz1 */ | 24 | /* server_config sits in 1st half of bb_common_bufsiz1 */ |
25 | #define client_config (*(struct client_config_t*)(&bb_common_bufsiz1[COMMON_BUFSIZE / 2])) | 25 | #define client_config (*(struct client_config_t*)(&bb_common_bufsiz1[COMMON_BUFSIZE / 2])) |
diff --git a/networking/udhcp/dhcpd.h b/networking/udhcp/dhcpd.h index 4f6b73e34..db2d1c776 100644 --- a/networking/udhcp/dhcpd.h +++ b/networking/udhcp/dhcpd.h | |||
@@ -59,7 +59,7 @@ struct server_config_t { | |||
59 | char *sname; /* bootp server name */ | 59 | char *sname; /* bootp server name */ |
60 | char *boot_file; /* bootp boot file option */ | 60 | char *boot_file; /* bootp boot file option */ |
61 | struct static_lease *static_leases; /* List of ip/mac pairs to assign static leases */ | 61 | struct static_lease *static_leases; /* List of ip/mac pairs to assign static leases */ |
62 | }; | 62 | } FIX_ALIASING; |
63 | 63 | ||
64 | #define server_config (*(struct server_config_t*)&bb_common_bufsiz1) | 64 | #define server_config (*(struct server_config_t*)&bb_common_bufsiz1) |
65 | /* client_config sits in 2nd half of bb_common_bufsiz1 */ | 65 | /* client_config sits in 2nd half of bb_common_bufsiz1 */ |