Store the hardware address length and type and make the "mac" field
large enough to store an Infiniband GUID.

Signed-off-by: Daniel M. Weeks <[email protected]>
---
 networking/udhcp/dhcpc.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/networking/udhcp/dhcpc.h b/networking/udhcp/dhcpc.h
index 7fdbc9a6c..233d6442b 100644
--- a/networking/udhcp/dhcpc.h
+++ b/networking/udhcp/dhcpc.h
@@ -8,7 +8,9 @@
 PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN
 
 struct client_config_t {
-       uint8_t client_mac[6];          /* Our mac address */
+       uint8_t client_mac[20];         /* Our hardware address */
+       uint8_t client_hlen;            /* Our actual hardware address length */
+       uint8_t client_htype;           /* Our hardware type */
        IF_FEATURE_UDHCP_PORT(uint16_t port;)
        int ifindex;                    /* Index number of the interface to use 
*/
        uint8_t opt_mask[256 / 8];      /* Bitmask of options to send (-O 
option) */
-- 
Daniel M. Weeks


-- 
Daniel M. Weeks
Lead HPC Developer
Center for Computational Innovations
Rensselaer Polytechnic Institute
Troy, NY 12180
518-276-4458
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to