summaryrefslogtreecommitdiff
path: root/NetworkPkg/Ip6Dxe
diff options
context:
space:
mode:
authorqianouyang <qianouyang@6f19259b-4bc3-4df7-8a09-765794883524>2011-04-20 10:01:48 +0000
committerqianouyang <qianouyang@6f19259b-4bc3-4df7-8a09-765794883524>2011-04-20 10:01:48 +0000
commit0a7294f7a158eb10cad794a296834e14b9d3a655 (patch)
treeccb99dc8e03fd410e0aa211c5ea238b5309cfaf6 /NetworkPkg/Ip6Dxe
parenta33f9a786d381faeb059a0dc4f4b7f41f7bc2f22 (diff)
downloadedk2-platforms-0a7294f7a158eb10cad794a296834e14b9d3a655.tar.xz
Update the relevant drivers to use the correct GUID for EFI_IPSEC2_PROTOCOL.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11576 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'NetworkPkg/Ip6Dxe')
-rw-r--r--NetworkPkg/Ip6Dxe/Ip6Dxe.inf2
-rw-r--r--NetworkPkg/Ip6Dxe/Ip6Input.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/NetworkPkg/Ip6Dxe/Ip6Dxe.inf b/NetworkPkg/Ip6Dxe/Ip6Dxe.inf
index aeb341cdc3..1510927e4b 100644
--- a/NetworkPkg/Ip6Dxe/Ip6Dxe.inf
+++ b/NetworkPkg/Ip6Dxe/Ip6Dxe.inf
@@ -93,7 +93,7 @@
gEfiIp6ConfigProtocolGuid
gEfiDhcp6ServiceBindingProtocolGuid
gEfiDhcp6ProtocolGuid
- gEfiIpSecProtocolGuid
+ gEfiIpSec2ProtocolGuid
gEfiHiiConfigAccessProtocolGuid
[Guids]
diff --git a/NetworkPkg/Ip6Dxe/Ip6Input.c b/NetworkPkg/Ip6Dxe/Ip6Input.c
index 55f0ae869a..89cdc35542 100644
--- a/NetworkPkg/Ip6Dxe/Ip6Input.c
+++ b/NetworkPkg/Ip6Dxe/Ip6Input.c
@@ -536,7 +536,7 @@ Ip6IpSecProcessPacket (
ZeroMem (&ZeroHead, sizeof (EFI_IP6_HEADER));
if (mIpSec == NULL) {
- gBS->LocateProtocol (&gEfiIpSecProtocolGuid, NULL, (VOID **) &mIpSec);
+ gBS->LocateProtocol (&gEfiIpSec2ProtocolGuid, NULL, (VOID **) &mIpSec);
//
// Check whether the ipsec protocol is available.