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

2015-04-27 Thread Hannes Reinecke
On 04/24/2015 07:05 PM, Michael Brown wrote: > On 01/04/15 08:26, Hannes Reinecke wrote: >> --- a/src/include/ipxe/dhcpv6.h >> +++ b/src/include/ipxe/dhcpv6.h >> @@ -11,6 +11,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL ); >> >> #include >> #include >> +#include >> #include >> >> /** DHCPv

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

2015-04-24 Thread Michael Brown
On 01/04/15 08:26, Hannes Reinecke wrote: --- a/src/include/ipxe/dhcpv6.h +++ b/src/include/ipxe/dhcpv6.h @@ -11,6 +11,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL ); #include #include +#include #include /** DHCPv6 server port */ @@ -32,6 +33,16 @@ struct dhcpv6_option { uint8_

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

2015-04-01 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/include/ipxe/dhcpv6.h | 13 + src/net/udp/dhcpv6.c | 35 ++- 2 files changed, 39 insertions(+), 9