Changeset View
Changeset View
Standalone View
Standalone View
usr.sbin/ctld/uclparse.c
Show First 20 Lines • Show All 841 Lines • ▼ Show 20 Lines | if (!strcmp(key, "port")) { | ||||
if (ret > 0) { | if (ret > 0) { | ||||
tp = port_new_ioctl(conf, target, i_pp, i_vp); | tp = port_new_ioctl(conf, target, i_pp, i_vp); | ||||
if (tp == NULL) { | if (tp == NULL) { | ||||
log_warnx("can't create new ioctl port " | log_warnx("can't create new ioctl port " | ||||
"for target \"%s\"", target->t_name); | "for target \"%s\"", target->t_name); | ||||
return (1); | return (1); | ||||
} | } | ||||
return (0); | continue; | ||||
} | } | ||||
pp = pport_find(conf, value); | pp = pport_find(conf, value); | ||||
if (pp == NULL) { | if (pp == NULL) { | ||||
log_warnx("unknown port \"%s\" for target \"%s\"", | log_warnx("unknown port \"%s\" for target \"%s\"", | ||||
value, target->t_name); | value, target->t_name); | ||||
return (1); | return (1); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 156 Lines • Show Last 20 Lines |