diff options
Diffstat (limited to 'tc/q_tbf.c')
-rw-r--r-- | tc/q_tbf.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -209,8 +209,7 @@ static int tbf_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt) if (opt == NULL) return 0; - memset(tb, 0, sizeof(tb)); - parse_rtattr(tb, TCA_TBF_PTAB, RTA_DATA(opt), RTA_PAYLOAD(opt)); + parse_rtattr_nested(tb, TCA_TBF_PTAB, opt); if (tb[TCA_TBF_PARMS] == NULL) return -1; |