]> git.proxmox.com Git - mirror_edk2.git/blobdiff - NetworkPkg/Application/IpsecConfig/Indexer.h
NetworkPkg: Fix unspecified address use case in IpsecConfig
[mirror_edk2.git] / NetworkPkg / Application / IpsecConfig / Indexer.h
index 078f38a3127948220e60792ea03207c34ead3570..58c0689021a13c6648be99675ea47484af406bb6 100644 (file)
@@ -2,7 +2,7 @@
   The internal structure and function declaration to construct ENTRY_INDEXER in\r
   IpSecConfig application.\r
 \r
   The internal structure and function declaration to construct ENTRY_INDEXER in\r
   IpSecConfig application.\r
 \r
-  Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2009 - 2016, 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
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
@@ -18,8 +18,8 @@
 #define _INDEXER_H_\r
 \r
 typedef struct {\r
 #define _INDEXER_H_\r
 \r
 typedef struct {\r
-  UINT8    *Name;\r
-  UINTN    Index;    // Used only if Name is NULL.\r
+  UINT8    Name[MAX_PEERID_LEN];\r
+  UINTN    Index;    // Used only if Name buffer is filled with zero.\r
 } SPD_ENTRY_INDEXER;\r
 \r
 typedef struct {\r
 } SPD_ENTRY_INDEXER;\r
 \r
 typedef struct {\r