]> git.proxmox.com Git - mirror_edk2.git/commit
NetworkPkg/IScsiDxe: Fix the incorrect max length of IP_ADDRESS.
authorJiaxin Wu <jiaxin.wu@intel.com>
Wed, 30 Aug 2017 06:57:14 +0000 (14:57 +0800)
committerJiaxin Wu <jiaxin.wu@intel.com>
Tue, 12 Sep 2017 02:46:05 +0000 (10:46 +0800)
commit8b134dfdad4ea17b8c85111248df496894f81978
tree650f70cc6494d57fb4c9e5b9a634f8da7da0cbe2
parent5dfba97c4d59613581f6fcc039846ff5c5817b1f
NetworkPkg/IScsiDxe: Fix the incorrect max length of IP_ADDRESS.

When creating the ISCSI string OpCode for IP_ADDRESS, the max length
should be IP(4)_STR_MAX_SIZE instead of IP(4)_MAX_SIZE.

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