]> git.proxmox.com Git - mirror_edk2.git/blobdiff - NetworkPkg/IpSecDxe/IpSecConfigImpl.c
1. Update IPsec driver to produce EFI_IPSEC2_PROTOCOL which is defined by UEFI errata...
[mirror_edk2.git] / NetworkPkg / IpSecDxe / IpSecConfigImpl.c
index e671e42e27af1230f804c4eb625d87047c846d9d..0b52a49ae589721f5e4c2a770699d789e61ea858 100644 (file)
@@ -2365,7 +2365,7 @@ EfiIpSecConfigGetNextSelector (
   NET_LIST_FOR_EACH (Link, &mConfigData[DataType]) {\r
     CommonEntry = BASE_CR (Link, IPSEC_COMMON_POLICY_ENTRY, List);\r
 \r
-    if (IsFound || mIsZeroSelector[DataType](Selector)) {\r
+    if (IsFound || (BOOLEAN)(mIsZeroSelector[DataType](Selector))) {\r
       //\r
       // If found the appointed entry, then duplicate the next one and return,\r
       // or if the appointed entry is zero, then return the first one directly.\r