]> git.proxmox.com Git - mirror_edk2.git/commit
NetworkPkg: Fix DNS GeneralLookUp failure in some case
authorJiaxin Wu <jiaxin.wu@intel.com>
Mon, 6 Jun 2016 05:30:22 +0000 (13:30 +0800)
committerJiaxin Wu <jiaxin.wu@intel.com>
Mon, 13 Jun 2016 05:26:31 +0000 (13:26 +0800)
commit3900a7437edcff46ef7137d45b15587da8cfde1d
tree4f02e5ba83c41228bd34e2a9d3aeab54f9915c1f
parent520a0746dc0e7212e22894dfffa7cec5c035f137
NetworkPkg: Fix DNS GeneralLookUp failure in some case

QClass value may be not equal to 1(DNS_CLASS_INET) when
GeneralLookUp query is called. So, remove QClass value check.
Moreover, the 'Identification' and 'Type' filed in Query packet
should not be changed to little endian since the packet maybe
retransmitted while there is any error happened.

Cc: Ye Ting <ting.ye@intel.com>
Cc: Zhang Lubo <lubo.zhang@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jiaxin Wu <jiaxin.wu@intel.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
Reviewed-by: Zhang Lubo <lubo.zhang@intel.com>
NetworkPkg/DnsDxe/DnsImpl.c
NetworkPkg/DnsDxe/DnsImpl.h