29c29
< * $FreeBSD: stable/10/usr.sbin/ctld/ctld.c 263724 2014-03-25 12:12:37Z trasz $
---
> * $FreeBSD: stable/10/usr.sbin/ctld/ctld.c 263726 2014-03-25 12:16:52Z trasz $
1108,1111c1108,1110
< log_warnx("missing authentication for target \"%s\"; "
< "must specify either \"auth-group\", \"chap\", "
< "or \"chap-mutual\"", targ->t_name);
< return (1);
---
> targ->t_auth_group = auth_group_find(conf,
> "default");
> assert(targ->t_auth_group != NULL);
< * $FreeBSD: stable/10/usr.sbin/ctld/ctld.c 263724 2014-03-25 12:12:37Z trasz $
---
> * $FreeBSD: stable/10/usr.sbin/ctld/ctld.c 263726 2014-03-25 12:16:52Z trasz $
1108,1111c1108,1110
< log_warnx("missing authentication for target \"%s\"; "
< "must specify either \"auth-group\", \"chap\", "
< "or \"chap-mutual\"", targ->t_name);
< return (1);
---
> targ->t_auth_group = auth_group_find(conf,
> "default");
> assert(targ->t_auth_group != NULL);