mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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
This commit is contained in:
parent
ee89f3d53c
commit
45cf0eab60
1 changed files with 0 additions and 5 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue