1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-22 17:35:35 +03:00

network: tc: fix n_prio bounds check

Looks like a simple copy and paste error

Fixes https://github.com/systemd/systemd/issues/16367
This commit is contained in:
Vito Caputo 2020-07-06 00:36:51 -07:00 committed by Zbigniew Jędrzejewski-Szmek
parent a64911f9b7
commit e26538dd04
2 changed files with 1 additions and 1 deletions

View File

@ -283,7 +283,7 @@ int config_parse_ets_prio(
lvalue, word);
continue;
}
if (ets->n_quanta > TC_PRIO_MAX) {
if (ets->n_prio > TC_PRIO_MAX) {
log_syntax(unit, LOG_ERR, filename, line, 0,
"Too many priomap in '%s=', ignoring assignment: %s",
lvalue, word);

Binary file not shown.