ctld: Permit valid integer LUN device types

Fixes:		2e0caa7c7e ("libutil: Really fix expand_number(3)")
Sponsored by:	Chelsio Communications
This commit is contained in:
John Baldwin
2025-08-04 15:38:06 -04:00
parent a13ddd6210
commit 14f2cd7804
+1 -1
View File
@@ -427,8 +427,8 @@ lun_set_device_type(const char *value)
if (errstr != NULL) {
log_warnx("invalid device-type \"%s\" for lun \"%s\"", value,
lun->l_name);
return (false);
}
return (false);
}
lun->l_device_type = device_type;