in-addr: improve log message for e.g. [DHCPv4] AllowList=

Closes #30107.
This commit is contained in:
Yu Watanabe
2023-11-21 09:32:50 +00:00
committed by Luca Boccassi
parent b595fd62e4
commit e00f1dda7d
+2 -1
View File
@@ -312,7 +312,8 @@ int config_parse_in_addr_prefixes(
}
if (r < 0) {
log_syntax(unit, LOG_WARNING, filename, line, r,
"Address prefix is invalid, ignoring assignment: %s", word);
"Invalid address prefix is specified in [%s] %s=, ignoring assignment: %s",
section, lvalue, word);
continue;
}