From a2213e2bd174203159be9e11a80133637d259cef Mon Sep 17 00:00:00 2001 From: trasz Date: Wed, 26 Feb 2014 09:06:57 +0000 Subject: [PATCH] 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 --- usr.bin/iscsictl/iscsictl.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/usr.bin/iscsictl/iscsictl.c b/usr.bin/iscsictl/iscsictl.c index d2db1b6988a3..39a31c658b26 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);