continue;
}
- if (mask->local_bits > 0 || mask->local_name != NULL)
- output_r->service_uses_local = TRUE;
- if (mask->remote_bits > 0)
- output_r->service_uses_remote = TRUE;
- if (config_filter_match_rest(mask, filter)) {
- if (mask->local_bits > 0 || mask->local_name != NULL)
- output_r->used_local = TRUE;
- if (mask->remote_bits > 0)
- output_r->used_remote = TRUE;
+ if (config_filter_match_rest(mask, filter))
array_push_back(&matches, &ctx->parsers[i]);
- }
}
if (filter->service == NULL) {
array_append_zero(&service_names);
that have more specific settings */
const char *const *specific_services;
- /* some settings for this service (or if service was not given,
- all services) contain local/remote ip/host specific settings
- (but this lookup didn't necessarily return any of them). */
- bool service_uses_local:1;
- bool service_uses_remote:1;
- /* returned settings contain settings specific to given
- local/remote ip/host */
- bool used_local:1;
- bool used_remote:1;
/* Config couldn't be read because we don't have enough permissions.
The process probably should be restarted and the settings read
before dropping privileges. */