}
/** Given a list of port_cfg_t in <b>ports</b>, warn any controller port there
- * is listening on any non-loopback address. If <b>forbid</b> is true,
+ * is listening on any non-loopback address. If <b>forbid_nonlocal</b> is true,
* then emit a stronger warning and remove the port from the list.
*/
static void
*
* If CL_PORT_WARN_NONLOCAL is set in <b>flags</b>, warn if any of the
* ports are not on a local address. If CL_PORT_FORBID_NONLOCAL is set,
- * this is a contrl port with no password set: don't even allow it.
+ * this is a control port with no password set: don't even allow it.
*
* Unless CL_PORT_ALLOW_EXTRA_LISTENADDR is set in <b>flags</b>, warn
* if FooListenAddress is set but FooPort is 0.
if (!strcasecmp(elt, "GroupWritable")) {
group_writable = !no;
+ continue;
} else if (!strcasecmp(elt, "WorldWritable")) {
world_writable = !no;
+ continue;
}
if (allow_no_stream_options) {