summaryrefslogtreecommitdiffstats
path: root/tc/q_cbs.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-17 14:59:00 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-17 14:59:00 +0000
commitd47129cf707fac663264651c7112992bc3265003 (patch)
treecc8dc1693e8bd981bf2cc0107c25305f9999f00c /tc/q_cbs.c
parentReleasing progress-linux version 6.8.0-1~progress7.99u1. (diff)
downloadiproute2-d47129cf707fac663264651c7112992bc3265003.tar.xz
iproute2-d47129cf707fac663264651c7112992bc3265003.zip
Merging upstream version 6.9.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tc/q_cbs.c')
-rw-r--r--tc/q_cbs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tc/q_cbs.c b/tc/q_cbs.c
index 788535c..5adfee7 100644
--- a/tc/q_cbs.c
+++ b/tc/q_cbs.c
@@ -29,7 +29,7 @@ static void explain1(const char *arg, const char *val)
fprintf(stderr, "cbs: illegal value for \"%s\": \"%s\"\n", arg, val);
}
-static int cbs_parse_opt(struct qdisc_util *qu, int argc,
+static int cbs_parse_opt(const struct qdisc_util *qu, int argc,
char **argv, struct nlmsghdr *n, const char *dev)
{
struct tc_cbs_qopt opt = {};
@@ -103,7 +103,7 @@ static int cbs_parse_opt(struct qdisc_util *qu, int argc,
return 0;
}
-static int cbs_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt)
+static int cbs_print_opt(const struct qdisc_util *qu, FILE *f, struct rtattr *opt)
{
struct rtattr *tb[TCA_CBS_MAX+1];
struct tc_cbs_qopt *qopt;