return 0;
}
-int config_parse_support(
+int config_parse_dnssec(
const char *unit,
const char *filename,
unsigned line,
void *data,
void *userdata) {
- Support support, *v = data;
+ Manager *m = data;
+ DnssecMode mode;
int r;
assert(filename);
assert(lvalue);
assert(rvalue);
- support = support_from_string(rvalue);
- if (support < 0) {
+ mode = dnssec_mode_from_string(rvalue);
+ if (mode < 0) {
r = parse_boolean(rvalue);
if (r < 0) {
- log_syntax(unit, LOG_ERR, filename, line, r, "Failed to parse support level '%s'. Ignoring.", rvalue);
+ log_syntax(unit, LOG_ERR, filename, line, r, "Failed to parse DNSSEC mode '%s'. Ignoring.", rvalue);
return 0;
}
- support = r ? SUPPORT_YES : SUPPORT_NO;
+ mode = r ? DNSSEC_YES : DNSSEC_NO;
}
- *v = support;
+ m->unicast_scope->dnssec_mode = mode;
return 0;
}