]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Make chaddr an unsigned char
authorTed Lemon <source@isc.org>
Wed, 28 Aug 1996 01:29:41 +0000 (01:29 +0000)
committerTed Lemon <source@isc.org>
Wed, 28 Aug 1996 01:29:41 +0000 (01:29 +0000)
dhcp.h
includes/dhcp.h

diff --git a/dhcp.h b/dhcp.h
index d21aeaa1101385a01c32c52cafb3de2efad2b6bb..a4c04821cf20abc039598e7e32a65f59f8ed6f9c 100644 (file)
--- a/dhcp.h
+++ b/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];
index d21aeaa1101385a01c32c52cafb3de2efad2b6bb..a4c04821cf20abc039598e7e32a65f59f8ed6f9c 100644 (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];