iscsi-target: Implement demo_mode_discovery logic
authorThomas Glanzmann <thomas@glanzmann.de>
Mon, 7 Oct 2013 21:13:46 +0000 (23:13 +0200)
committerNicholas Bellinger <nab@linux-iscsi.org>
Thu, 24 Oct 2013 04:30:12 +0000 (21:30 -0700)
If demo_mode_discovery=0 and generate_node_acls=0 (demo mode dislabed) do
not return TargetName+TargetAddress unless a NodeACL exists.

Signed-off-by: Thomas Glanzmann <thomas@glanzmann.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>

No differences found