summaryrefslogtreecommitdiff
path: root/NetworkPkg/DnsDxe/DnsProtocol.c
diff options
context:
space:
mode:
authorJiaxin Wu <jiaxin.wu@intel.com>2016-01-22 01:40:56 +0800
committerJiaxin Wu <jiaxin.wu@intel.com>2016-02-18 13:07:59 +0800
commit3700da73846e10853ed95010d7ad2f0b9135439f (patch)
tree1b62f3fc17889fe6128e75171c267b3740d4c2b2 /NetworkPkg/DnsDxe/DnsProtocol.c
parentdba6e9a935dc6728f1f29af103dab3dbcb695167 (diff)
downloadedk2-platforms-3700da73846e10853ed95010d7ad2f0b9135439f.tar.xz
NetworkPkg: Replace the internal function with exposed one
This patch is used to replace the internal function with the exposed one defined in NetLib.h. Cc: Hegde Nagaraj P <nagaraj-p.hegde@hpe.com> Cc: El-Haj-Mahmoud Samer <samer.el-haj-mahmoud@hpe.com> Cc: Ye Ting <ting.ye@intel.com> Cc: Fu Siyuan <siyuan.fu@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiaxin Wu <jiaxin.wu@intel.com> Reviewed-by: Hegde Nagaraj P <nagaraj-p.hegde@hpe.com> Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
Diffstat (limited to 'NetworkPkg/DnsDxe/DnsProtocol.c')
-rw-r--r--NetworkPkg/DnsDxe/DnsProtocol.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/NetworkPkg/DnsDxe/DnsProtocol.c b/NetworkPkg/DnsDxe/DnsProtocol.c
index f572b8b722..11009fdc0d 100644
--- a/NetworkPkg/DnsDxe/DnsProtocol.c
+++ b/NetworkPkg/DnsDxe/DnsProtocol.c
@@ -454,7 +454,7 @@ Dns4HostNameToIp (
//
// Construct QName.
//
- QueryName = DnsFillinQNameForQueryIp (TokenEntry->QueryHostName);
+ QueryName = NetLibCreateDnsQName (TokenEntry->QueryHostName);
if (QueryName == NULL) {
Status = EFI_OUT_OF_RESOURCES;
goto ON_EXIT;
@@ -1264,7 +1264,7 @@ Dns6HostNameToIp (
//
// Construct QName.
//
- QueryName = DnsFillinQNameForQueryIp (TokenEntry->QueryHostName);
+ QueryName = NetLibCreateDnsQName (TokenEntry->QueryHostName);
if (QueryName == NULL) {
Status = EFI_OUT_OF_RESOURCES;
goto ON_EXIT;