summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authortrasz <trasz@FreeBSD.org>2014-03-06 11:10:57 +0000
committertrasz <trasz@FreeBSD.org>2014-03-06 11:10:57 +0000
commit32f8fd7b162b99f926b2db9fa13a51b0b5e4977f (patch)
tree04601e1e546d377c68d5f08d78938c233839a633 /usr.bin
parent634638377ad6b25a32029a02c961dc3c1b0a0c93 (diff)
downloadFreeBSD-src-32f8fd7b162b99f926b2db9fa13a51b0b5e4977f.zip
FreeBSD-src-32f8fd7b162b99f926b2db9fa13a51b0b5e4977f.tar.gz
MFC r262525:
There is no need to prevent iscsictl from adding iSER session when there is no iSER support in ctld and/or kernel; should the user make that mistake, the output from "iscsictl -L" is enough to determine what the problem is. Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/iscsictl/iscsictl.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/usr.bin/iscsictl/iscsictl.c b/usr.bin/iscsictl/iscsictl.c
index d2db1b6..39a31c6 100644
--- a/usr.bin/iscsictl/iscsictl.c
+++ b/usr.bin/iscsictl/iscsictl.c
@@ -242,11 +242,6 @@ conf_verify(struct conf *conf)
}
if (targ->t_protocol == PROTOCOL_UNSPECIFIED)
targ->t_protocol = PROTOCOL_ISCSI;
-#ifndef ICL_KERNEL_PROXY
- if (targ->t_protocol == PROTOCOL_ISER)
- errx(1, "iSER support requires ICL_KERNEL_PROXY; "
- "see iscsi(4) for details");
-#endif
if (targ->t_address == NULL)
errx(1, "missing TargetAddress for target \"%s\"",
targ->t_nickname);
OpenPOWER on IntegriCloud