2
0
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:
Ted Lemon
1996-08-28 01:29:41 +00:00
parent d58a12592d
commit 9f35cc5dd4
2 changed files with 2 additions and 2 deletions

2
dhcp.h
View File

@@ -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];

View File

@@ -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];