summaryrefslogtreecommitdiff
path: root/NetworkPkg
diff options
context:
space:
mode:
Diffstat (limited to 'NetworkPkg')
-rw-r--r--NetworkPkg/IpSecDxe/IkeCommon.c4
-rw-r--r--NetworkPkg/IpSecDxe/IkeService.c12
2 files changed, 8 insertions, 8 deletions
diff --git a/NetworkPkg/IpSecDxe/IkeCommon.c b/NetworkPkg/IpSecDxe/IkeCommon.c
index 7f563653e6..898d5d9439 100644
--- a/NetworkPkg/IpSecDxe/IkeCommon.c
+++ b/NetworkPkg/IpSecDxe/IkeCommon.c
@@ -1,7 +1,7 @@
/** @file
Common operation of the IKE
- Copyright (c) 2010, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2010 - 2012, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
@@ -22,7 +22,7 @@
// Initial the SPI
//
UINT32 mNextSpi = IKE_SPI_BASE;
-EFI_GUID mZeroGuid = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
+EFI_GUID mZeroGuid = { 0, 0, 0, { 0, 0, 0, 0, 0, 0, 0, 0 } };
/**
Call Crypto Lib to generate a random value with eight-octet length.
diff --git a/NetworkPkg/IpSecDxe/IkeService.c b/NetworkPkg/IpSecDxe/IkeService.c
index 12ee030e70..b68f4567c5 100644
--- a/NetworkPkg/IpSecDxe/IkeService.c
+++ b/NetworkPkg/IpSecDxe/IkeService.c
@@ -1,7 +1,7 @@
/** @file
Provide IPsec Key Exchange (IKE) service general interfaces.
- Copyright (c) 2010 - 2011, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2010 - 2012, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
@@ -36,10 +36,10 @@ EFI_UDP4_CONFIG_DATA mUdp4Conf = {
0,
1000000,
FALSE,
- {0,0,0,0},
- {0,0,0,0},
+ {{0,0,0,0}},
+ {{0,0,0,0}},
IKE_DEFAULT_PORT,
- {0,0,0,0},
+ {{0,0,0,0}},
0
};
@@ -55,9 +55,9 @@ EFI_UDP6_CONFIG_DATA mUdp6Conf = {
0,
1000000,
//Access Point
- {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0},
+ {{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}},
IKE_DEFAULT_PORT,
- {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0},
+ {{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}},
0
};