# and other configuration parameters from DHCPv6 servers.\r
#\r
# (C) Copyright 2015 Hewlett-Packard Development Company, L.P.<BR>\r
-# Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2009 - 2017, Intel Corporation. All rights reserved.<BR>\r
#\r
# This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
gEfiDhcp6ProtocolGuid ## BY_START\r
gEfiIp6ConfigProtocolGuid ## TO_START\r
\r
+[Guids] \r
+ gZeroGuid ## SOMETIMES_CONSUMES ## GUID\r
\r
[Pcd]\r
gEfiNetworkPkgTokenSpaceGuid.PcdDhcp6UidType ## SOMETIMES_CONSUMES\r
/** @file\r
Dhcp6 internal data structure and definition declaration.\r
\r
- Copyright (c) 2009 - 2016, Intel Corporation. All rights reserved.<BR>\r
+ Copyright (c) 2009 - 2017, Intel Corporation. All rights reserved.<BR>\r
\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
#include <Library/BaseLib.h>\r
#include <Library/NetLib.h>\r
#include <Library/PrintLib.h>\r
+#include <Guid/ZeroGuid.h>\r
\r
\r
typedef struct _DHCP6_IA_CB DHCP6_IA_CB;\r
Dhcp6 support functions implementation.\r
\r
(C) Copyright 2015 Hewlett-Packard Development Company, L.P.<BR>\r
- Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR>\r
+ Copyright (c) 2009 - 2017, Intel Corporation. All rights reserved.<BR>\r
\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
//\r
// If System UUID is found from SMBIOS Table, use DUID-UUID type.\r
//\r
- if ((PcdGet8 (PcdDhcp6UidType) == Dhcp6DuidTypeUuid) && !EFI_ERROR (NetLibGetSystemGuid (&Uuid))) {\r
+ if ((PcdGet8 (PcdDhcp6UidType) == Dhcp6DuidTypeUuid) && !EFI_ERROR (NetLibGetSystemGuid (&Uuid)) && !CompareGuid (&Uuid, &gZeroGuid)) {\r
//\r
//\r
// The format of DUID-UUID:\r