]> git.proxmox.com Git - mirror_edk2.git/commit - NetworkPkg/IScsiDxe/IScsiDhcp.c
NetworkPkg/IScsiDxe: Correct the DnsMode value according the target info.
authorJiaxin Wu <jiaxin.wu@intel.com>
Fri, 22 Dec 2017 02:15:36 +0000 (10:15 +0800)
committerJiaxin Wu <jiaxin.wu@intel.com>
Wed, 27 Dec 2017 08:50:04 +0000 (16:50 +0800)
commitdb0cd7ecabeeb76f236eda915d0908a40b79b6b5
tree56d8b819c101c87036de644aa73b8e0e4d58f697
parent2af105906401bf5c9a6a1e92993b2294388fd9ae
NetworkPkg/IScsiDxe: Correct the DnsMode value according the target info.

When the platform gets the target info from DHCP (option 17) and the ISCSI
server is expressed as IP address, the value of DnsMode should be false,
otherwise, the failure will happen in certain case.

please refer to https://bugzilla.tianocore.org/show_bug.chi?id=823 for
the detailed steps.

Cc: Ye Ting <ting.ye@intel.com>
Cc: Fu Siyuan <siyuan.fu@intel.com>
Cc: Karunakar P <karunakarp@amiindia.co.in>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Wu Jiaxin <jiaxin.wu@intel.com>
Tested-by: Karunakar P <karunakarp@amiindia.co.in>
Reviewed-by: Ye Ting <ting.ye@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
NetworkPkg/IScsiDxe/IScsiDhcp.c