summaryrefslogtreecommitdiffstats
path: root/tc/q_red.c
diff options
context:
space:
mode:
Diffstat (limited to 'tc/q_red.c')
-rw-r--r--tc/q_red.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/tc/q_red.c b/tc/q_red.c
index c156d47c..549b877b 100644
--- a/tc/q_red.c
+++ b/tc/q_red.c
@@ -214,9 +214,8 @@ static int red_print_xstats(struct qdisc_util *qu, FILE *f, struct rtattr *xstat
struct qdisc_util red_util = {
- NULL,
- "red",
- red_parse_opt,
- red_print_opt,
- red_print_xstats,
+ .id = "red",
+ .parse_qopt = red_parse_opt,
+ .print_qopt = red_print_opt,
+ .print_xstats = red_print_xstats,
};