Re: [ipxe-devel] [PATCH 1/3] dhcpv6: Fallback to using DUID-LL for empty UUID

2018-03-01 Thread Michael Brown
On 05/02/18 08:36, Hannes Reinecke wrote: +/** DHCP unique identifier based on Ethernet Link-layer address (DUID-LL) */ +struct dhcpv6_duid_eth_ll { + /** Type */ + uint16_t type; + /** Hardware type: Ethernet */ + uint16_t hw_type; + /** Ethernet link-layer address

[ipxe-devel] [PATCH 1/3] dhcpv6: Fallback to using DUID-LL for empty UUID

2018-02-05 Thread Hannes Reinecke
If the system UUID is empty we cannot use it as a DUID for DCHPv6. So fallback to use DUID-LL in these cases. Signed-off-by: Hannes Reinecke --- src/core/uuid.c | 2 ++ src/include/ipxe/dhcpv6.h | 13 + src/include/ipxe/uuid.h | 2 ++ src/net/udp/dhcpv6.c