]> git.proxmox.com Git - mirror_edk2.git/commit
NetworkPkg: Support bracketed IPv6 address during a redirection in iSCSI
authorZhang Lubo <lubo.zhang@intel.com>
Wed, 26 Oct 2016 06:21:08 +0000 (14:21 +0800)
committerJiaxin Wu <jiaxin.wu@intel.com>
Wed, 26 Oct 2016 08:43:31 +0000 (16:43 +0800)
commit9c3dcd0f5658f2205858994f392b48f425a453d1
tree20794d5640570489091ac72562c57ed7506e76d8
parent8aa2cdd79f9c75429ae1c23ac0f379d901a251d6
NetworkPkg: Support bracketed IPv6 address during a redirection in iSCSI

According to RFC 3720, the TargetAddress provided in a redirection
might be a DNS host name, a dotted-decimal IPv4 address, or a
bracketed IPv6 address. Current ISCSI driver in Networkpkg only
supports dotted-decimal IPv4 address, so we need add IPv6 address
support since it is a combo driver supporting dual stack.

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: Fu Siyuan <siyuan.fu@intel.com>
NetworkPkg/IScsiDxe/IScsiProto.c
NetworkPkg/IScsiDxe/IScsiProto.h