summaryrefslogtreecommitdiff
path: root/NetworkPkg/Application
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/Application
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/Application')
-rw-r--r--NetworkPkg/Application/IpsecConfig/IpSecConfig.c2
-rw-r--r--NetworkPkg/Application/IpsecConfig/IpSecConfig.inf2
2 files changed, 2 insertions, 2 deletions
diff --git a/NetworkPkg/Application/IpsecConfig/IpSecConfig.c b/NetworkPkg/Application/IpsecConfig/IpSecConfig.c
index f64cf9728e..44a1a0cbd4 100644
--- a/NetworkPkg/Application/IpsecConfig/IpSecConfig.c
+++ b/NetworkPkg/Application/IpsecConfig/IpSecConfig.c
@@ -648,7 +648,7 @@ InitializeIpSecConfig (
goto Done;
}
- Status = LocateProtocol (&gEfiIpSecProtocolGuid, (VOID **) &mIpSec);
+ Status = LocateProtocol (&gEfiIpSec2ProtocolGuid, (VOID **) &mIpSec);
if (EFI_ERROR (Status) || mIpSec == NULL) {
ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_IPSEC_CONFIG_PROTOCOL_INEXISTENT), mHiiHandle, mAppName);
goto Done;
diff --git a/NetworkPkg/Application/IpsecConfig/IpSecConfig.inf b/NetworkPkg/Application/IpsecConfig/IpSecConfig.inf
index 1e0d4f44db..19a867957d 100644
--- a/NetworkPkg/Application/IpsecConfig/IpSecConfig.inf
+++ b/NetworkPkg/Application/IpsecConfig/IpSecConfig.inf
@@ -57,5 +57,5 @@
UefiLib
[Protocols]
- gEfiIpSecProtocolGuid ##CONSUMS
+ gEfiIpSec2ProtocolGuid ##CONSUMS
gEfiIpSecConfigProtocolGuid ##CONSUMS