iscsi-target: TargetAddress in SendTargets should bracket ipv6 addresses
authorAndy Grover <agrover@redhat.com>
Tue, 31 Mar 2015 17:43:18 +0000 (10:43 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Wed, 8 Apr 2015 00:41:54 +0000 (17:41 -0700)
commit1997e625963e24994a81070fef169e78965f6496
tree1d9dbdc85d5fe5b34393babb04e0267abe9af7ac
parent86d65dc4fe74d5b3228fe13c5eff0b10ae6808eb
iscsi-target: TargetAddress in SendTargets should bracket ipv6 addresses

"The domainname can be specified as either a DNS host name, a
dotted-decimal IPv4 address, or a bracketed IPv6 address as specified
in [RFC2732]."

See https://bugzilla.redhat.com/show_bug.cgi?id=1206868

Reported-by: Kyle Brantley <kyle@averageurl.com>
Signed-off-by: Andy Grover <agrover@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/iscsi/iscsi_target.c