mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-08-31 14:25:41 +00:00
Make chaddr an unsigned char
This commit is contained in:
2
dhcp.h
2
dhcp.h
@@ -65,7 +65,7 @@ struct dhcp_packet {
|
||||
struct in_addr yiaddr; /* Client IP address */
|
||||
struct in_addr siaddr; /* IP address of next server to talk to */
|
||||
struct in_addr giaddr; /* DHCP relay agent IP address */
|
||||
char chaddr [16]; /* Client hardware address */
|
||||
unsigned char chaddr [16]; /* Client hardware address */
|
||||
char sname [DHCP_SNAME_LEN]; /* Server name */
|
||||
char file [DHCP_FILE_LEN]; /* Boot filename */
|
||||
unsigned char options [DHCP_OPTION_LEN];
|
||||
|
@@ -65,7 +65,7 @@ struct dhcp_packet {
|
||||
struct in_addr yiaddr; /* Client IP address */
|
||||
struct in_addr siaddr; /* IP address of next server to talk to */
|
||||
struct in_addr giaddr; /* DHCP relay agent IP address */
|
||||
char chaddr [16]; /* Client hardware address */
|
||||
unsigned char chaddr [16]; /* Client hardware address */
|
||||
char sname [DHCP_SNAME_LEN]; /* Server name */
|
||||
char file [DHCP_FILE_LEN]; /* Boot filename */
|
||||
unsigned char options [DHCP_OPTION_LEN];
|
||||
|
Reference in New Issue
Block a user