]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
network/tc: rename settings in log messages too
authorMike Yuan <me@yhndnzj.com>
Tue, 9 May 2023 16:15:14 +0000 (00:15 +0800)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 10 May 2023 05:21:28 +0000 (14:21 +0900)
Follow-up for c03ef420fa7157b8d4881636fe72596a06e08bb6

src/network/tc/tbf.c

index d4344908d958603f6ac5664ff6d7336a4bc2d5a1..647fc8cb1eb8a78e6ba87ae5749b9abbfee64bac 100644 (file)
@@ -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);