From: Mike Yuan Date: Tue, 9 May 2023 16:15:14 +0000 (+0800) Subject: network/tc: rename settings in log messages too X-Git-Tag: v254-rc1~522 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8707dcdf3b5b4b01530639389350505fcb700969;p=thirdparty%2Fsystemd.git network/tc: rename settings in log messages too Follow-up for c03ef420fa7157b8d4881636fe72596a06e08bb6 --- diff --git a/src/network/tc/tbf.c b/src/network/tc/tbf.c index d4344908d95..647fc8cb1eb 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);