]> git.proxmox.com Git - mirror_edk2.git/commit - NetworkPkg/IScsiDxe/IScsiMisc.c
NetworkPkg: Fix potential bug if the iSCSI use dns protocol.
authorZhang, Lubo <lubo.zhang@intel.com>
Thu, 9 Mar 2017 08:17:56 +0000 (16:17 +0800)
committerJiaxin Wu <jiaxin.wu@intel.com>
Wed, 15 Mar 2017 07:02:02 +0000 (15:02 +0800)
commitdf077b3e07098f252a061d3e0a926f6696d24936
tree7a37023a48dc1a8f80fd85fa500506067b3757bf
parent2d67f2bae32040c77af8097a8ef1be272cb00e28
NetworkPkg: Fix potential bug if the iSCSI use dns protocol.

Since we use the Attempt and index as the attempt variable name instead of
the MAC address plus index, we need to update this to check the whether
the Controller handle is configured to use DNS protocol

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Zhang Lubo <lubo.zhang@intel.com>
Cc: Ye Ting <ting.ye@intel.com>
Cc: Fu Siyuan <siyuan.fu@intel.com>
Cc: Wu Jiaxin <jiaxin.wu@intel.com>
Reviewed-by: Wu Jiaxin <jiaxin.wu@intel.com>
NetworkPkg/IScsiDxe/IScsiMisc.c