1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-18 02:19:39 +00:00

Fix an early return in ctld UCL parser

If the UCL ctld parser encountered a port that used the CTL
ioctl device, it fell into a special case that had an erroneous
early return.  This caused all configuration in the target
following the port attribute to be skipped.  Fix this by replacing
the return with a continue so that the rest of the config is
parsed correctly.

Sponsored by: Dell EMC Isilon
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D31703
Reviewed by: bapt
This commit is contained in:
Ryan Stone 2021-07-07 16:04:10 -04:00
parent 9939af1a16
commit 315bca194a

View File

@ -847,7 +847,7 @@ uclparse_target(const char *name, const ucl_object_t *top)
return (1);
}
return (0);
continue;
}
pp = pport_find(conf, value);