iscsi-target: Implement iSCSI target IPv6 address printing.
authorChris Boot <bootc@bootc.net>
Sun, 14 Aug 2011 05:10:46 +0000 (22:10 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Mon, 22 Aug 2011 19:26:29 +0000 (19:26 +0000)
commit6626a0572657a0945a7b9ccf4a6d6ad1750f9adc
tree65db4e143b121c6dbb101f1a076b943bb91a4a8f
parentc3c74c7a33d837be391ab61aaae39bb21f16736a
iscsi-target: Implement iSCSI target IPv6 address printing.

The iSCSI target configfs code to print out an initiator's IPv6 address
is not fully implemented. This patch uses snprintf() with the "%pI6c"
format string to format the IPv6 address for display purposes.

Signed-off-by: Chris Boot <bootc@bootc.net>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/iscsi/iscsi_target_login.c