summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Yuan <me@yhndnzj.com>2023-05-10 00:15:14 +0800
committerYu Watanabe <watanabe.yu+github@gmail.com>2023-05-10 14:21:28 +0900
commit8707dcdf3b5b4b01530639389350505fcb700969 (patch)
treed47be24a6502cc7f9485c8a8aea73da64f7eba1c /src
parent6723c28f36ea566faf61d3610012cd89f95ee4a0 (diff)
downloadsystemd-8707dcdf3b5b4b01530639389350505fcb700969.tar.gz
network/tc: rename settings in log messages too
Follow-up for c03ef420fa7157b8d4881636fe72596a06e08bb6
Diffstat (limited to 'src')
-rw-r--r--src/network/tc/tbf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/network/tc/tbf.c b/src/network/tc/tbf.c
index d4344908d9..647fc8cb1e 100644
--- a/src/network/tc/tbf.c
+++ b/src/network/tc/tbf.c
@@ -304,13 +304,13 @@ static int token_bucket_filter_verify(QDisc *qdisc) {
if (tbf->limit > 0 && tbf->latency > 0)
return log_warning_errno(SYNTHETIC_ERRNO(EINVAL),
- "%s: Specifying both LimitSize= and LatencySec= is not allowed. "
+ "%s: Specifying both LimitBytes= and LatencySec= is not allowed. "
"Ignoring [TokenBucketFilter] section from line %u.",
qdisc->section->filename, qdisc->section->line);
if (tbf->limit == 0 && tbf->latency == 0)
return log_warning_errno(SYNTHETIC_ERRNO(EINVAL),
- "%s: Either LimitSize= or LatencySec= is required. "
+ "%s: Either LimitBytes= or LatencySec= is required. "
"Ignoring [TokenBucketFilter] section from line %u.",
qdisc->section->filename, qdisc->section->line);
@@ -322,7 +322,7 @@ static int token_bucket_filter_verify(QDisc *qdisc) {
if (tbf->burst == 0)
return log_warning_errno(SYNTHETIC_ERRNO(EINVAL),
- "%s: Burst= is mandatory. "
+ "%s: BurstBytes= is mandatory. "
"Ignoring [TokenBucketFilter] section from line %u.",
qdisc->section->filename, qdisc->section->line);