Skip to content

Commit 59bae42

Browse files
committed
network: update log message
1 parent ab119e6 commit 59bae42

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/network/tc/qdisc.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -218,15 +218,15 @@ int qdisc_section_verify(QDisc *qdisc, bool *has_root, bool *has_clsact) {
218218
if (qdisc->parent == TC_H_ROOT) {
219219
if (*has_root)
220220
return log_warning_errno(SYNTHETIC_ERRNO(EINVAL),
221-
"%s: More than one root TrafficControlQueueingDiscipline sections are defined. "
222-
"Ignoring [TrafficControlQueueingDiscipline] section from line %u.",
221+
"%s: More than one root qdisc section is defined. "
222+
"Ignoring the qdisc section from line %u.",
223223
qdisc->section->filename, qdisc->section->line);
224224
*has_root = true;
225225
} else if (qdisc->parent == TC_H_CLSACT) { /* TC_H_CLSACT == TC_H_INGRESS */
226226
if (*has_clsact)
227227
return log_warning_errno(SYNTHETIC_ERRNO(EINVAL),
228-
"%s: More than one clsact or ingress TrafficControlQueueingDiscipline sections are defined. "
229-
"Ignoring [TrafficControlQueueingDiscipline] section from line %u.",
228+
"%s: More than one clsact or ingress qdisc section is defined. "
229+
"Ignoring the qdisc section from line %u.",
230230
qdisc->section->filename, qdisc->section->line);
231231
*has_clsact = true;
232232
}

0 commit comments

Comments
 (0)