1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-22 13:33:56 +03:00

network: Table= also accepts table name

This commit is contained in:
Yu Watanabe 2022-10-28 11:03:52 +09:00
parent 6fadf01cf3
commit 29de4f7304
2 changed files with 2 additions and 2 deletions

View File

@ -2351,7 +2351,7 @@ int config_parse_route_table(
r = manager_get_route_table_from_string(network->manager, rvalue, &n->table);
if (r < 0) {
log_syntax(unit, LOG_WARNING, filename, line, r,
"Could not parse route table number \"%s\", ignoring assignment: %m", rvalue);
"Could not parse route table \"%s\", ignoring assignment: %m", rvalue);
return 0;
}

View File

@ -1250,7 +1250,7 @@ int config_parse_routing_policy_rule_table(
r = manager_get_route_table_from_string(network->manager, rvalue, &n->table);
if (r < 0) {
log_syntax(unit, LOG_WARNING, filename, line, r,
"Could not parse RPDB rule route table number \"%s\", ignoring assignment: %m", rvalue);
"Could not parse RPDB rule route table \"%s\", ignoring assignment: %m", rvalue);
return 0;
}