network: fix error code in log

This commit is contained in:
Yu Watanabe
2019-02-27 16:48:19 +09:00
parent 87d8a4dee8
commit 80be3de31f
+1 -1
View File
@@ -1507,7 +1507,7 @@ int config_parse_dhcp_user_class(
break;
if (strlen(w) > 255) {
log_syntax(unit, LOG_ERR, filename, line, r,
log_syntax(unit, LOG_ERR, filename, line, 0,
"%s length is not in the range 1-255, ignoring.", w);
continue;
}