summaryrefslogtreecommitdiffstats
path: root/tc/f_rsvp.c
diff options
context:
space:
mode:
Diffstat (limited to 'tc/f_rsvp.c')
-rw-r--r--tc/f_rsvp.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/tc/f_rsvp.c b/tc/f_rsvp.c
index 8faa22e7..13fcf979 100644
--- a/tc/f_rsvp.c
+++ b/tc/f_rsvp.c
@@ -322,9 +322,7 @@ static int rsvp_print_opt(struct filter_util *qu, FILE *f, struct rtattr *opt, _
if (opt == NULL)
return 0;
- memset(tb, 0, sizeof(tb));
- if (opt)
- parse_rtattr(tb, TCA_RSVP_MAX, RTA_DATA(opt), RTA_PAYLOAD(opt));
+ parse_rtattr_nested(tb, TCA_RSVP_MAX, opt);
if (handle)
fprintf(f, "fh 0x%08x ", handle);