/* This function is to display the IPv6 address. */
VOID HttpBootShowIp6Addr(IN EFI_IPv6_ADDRESS *Ip)
/* This function is to display the IPv6 address. */
VOID HttpBootShowIp6Addr(IN EFI_IPv6_ADDRESS *Ip)
{
  UINTN  Index;
  for (Index = 0; Index < 16; Index++) {
    if (Ip->Addr[Index] != 0) {
      AsciiPrint ("%x", Ip->Addr[Index]);
    }
    Index++;
    if (Index > 15) {
      return;
    }
    if (((Ip->Addr[Index] & 0xf0) == 0) && (Ip->Addr[Index - 1] != 0)) {
      AsciiPrint ("0");
    }
    AsciiPrint ("%x", Ip->Addr[Index]);
    if (Index < 15) {
      AsciiPrint (":");
    }
  }
}