/** @file\r
The ICMPv6 handle routines to process the ICMPv6 control messages.\r
\r
- Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>\r
+ Copyright (c) 2009 - 2016, Intel Corporation. All rights reserved.<BR>\r
(C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>\r
\r
This program and the accompanying materials\r
UINT8 Mask;\r
UINT8 Value;\r
\r
- ASSERT ((Prefix != NULL) && (PrefixLength < IP6_PREFIX_NUM));\r
+ ASSERT ((Prefix != NULL) && (PrefixLength < IP6_PREFIX_MAX));\r
\r
if (PrefixLength == 0) {\r
ZeroMem (Prefix, sizeof (EFI_IPv6_ADDRESS));\r
return ;\r
}\r
\r
- if (PrefixLength >= IP6_PREFIX_NUM - 1) {\r
+ if (PrefixLength >= IP6_PREFIX_MAX) {\r
return ;\r
}\r
\r