From 4c4cbee95637758c57c07ad5548a7f671caa5c1e Mon Sep 17 00:00:00 2001 From: Jiaxin Wu Date: Mon, 1 Feb 2016 01:36:25 +0000 Subject: [PATCH] MdePkg: Correct inconsistent function descriptions in DNS This patch is used to correct inconsistent function descriptions in Dns4.h and Dns6.h. Cc: Fu Siyuan Cc: Ye Ting Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiaxin Wu Reviewed-by: Siyuan Fu Reviewed-by: Liming Gao git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19780 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Include/Protocol/Dns4.h | 5 ++--- MdePkg/Include/Protocol/Dns6.h | 8 ++++---- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/MdePkg/Include/Protocol/Dns4.h b/MdePkg/Include/Protocol/Dns4.h index 3e7cdaaf2c..24892687be 100644 --- a/MdePkg/Include/Protocol/Dns4.h +++ b/MdePkg/Include/Protocol/Dns4.h @@ -4,7 +4,7 @@ DNSv4 Service Binding Protocol (DNSv4SB) DNSv4 Protocol (DNSv4) - Copyright (c) 2015, Intel Corporation. All rights reserved.
+ Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -339,7 +339,7 @@ EFI_STATUS type A query is used to get the one or more IP addresses for this host. @param[in] This Pointer to EFI_DNS4_PROTOCOL instance. - @param[in] Hostname Host name. + @param[in] HostName Host name. @param[in] Token Point to the completion token to translate host name to host address. @@ -380,7 +380,6 @@ EFI_STATUS IpAddress is not valid IP address . @retval EFI_NO_MAPPING There's no source address is available for use. @retval EFI_ALREADY_STARTED This Token is being used in another DNS session. - @retval EFI_NOT_STARTED This instance has not been started. @retval EFI_OUT_OF_RESOURCES Failed to allocate needed resources. **/ typedef diff --git a/MdePkg/Include/Protocol/Dns6.h b/MdePkg/Include/Protocol/Dns6.h index 03cdf6a514..1ea85bc5a8 100644 --- a/MdePkg/Include/Protocol/Dns6.h +++ b/MdePkg/Include/Protocol/Dns6.h @@ -4,7 +4,7 @@ DNSv6 Service Binding Protocol (DNSv6SB) DNSv6 Protocol (DNSv6) - Copyright (c) 2015, Intel Corporation. All rights reserved.
+ Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -301,7 +301,7 @@ EFI_STATUS @retval EFI_SUCCESS The operation completed successfully. @retval EFI_INVALID_PARAMTER This is NULL. - The StationIp address provided in DnsConfigData is not a valid unicast. + The StationIp address provided in DnsConfigData is not zero and not a valid unicast. DnsServerList is NULL while DnsServerList Count is not ZERO. DnsServerList Count is ZERO while DnsServerList is not NULL. @retval EFI_OUT_OF_RESOURCES The DNS instance data or required space could not be allocated. @@ -323,10 +323,10 @@ EFI_STATUS Host name to host address translation. The HostNameToIp () function is used to translate the host name to host IP address. A - type A query is used to get the one or more IPv6 addresses for this host. + type AAAA query is used to get the one or more IPv6 addresses for this host. @param[in] This Pointer to EFI_DNS6_PROTOCOL instance. - @param[in] Hostname Host name. + @param[in] HostName Host name. @param[in] Token Point to the completion token to translate host name to host address. -- 2.39.2