diff options
Diffstat (limited to 'lib/route/qdisc/htb.c')
-rw-r--r-- | lib/route/qdisc/htb.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/route/qdisc/htb.c b/lib/route/qdisc/htb.c index 4298580..9fb0bf6 100644 --- a/lib/route/qdisc/htb.c +++ b/lib/route/qdisc/htb.c @@ -190,10 +190,10 @@ static int htb_qdisc_msg_fill(struct rtnl_tc *tc, void *data, struct nl_msg *msg) { struct rtnl_htb_qdisc *htb = data; - struct tc_htb_glob opts = {0}; - - opts.version = TC_HTB_PROTOVER; - opts.rate2quantum = 10; + struct tc_htb_glob opts = { + .version = TC_HTB_PROTOVER, + .rate2quantum = 10, + }; if (htb) { if (htb->qh_mask & SCH_HTB_HAS_RATE2QUANTUM) |