Message ID | 1476696885-22214-1-git-send-email-jhs@emojatatu.com |
---|---|
State | Changes Requested, archived |
Delegated to: | stephen hemminger |
Headers | show |
diff --git a/tc/tc_filter.c b/tc/tc_filter.c index 2413cef..4efc44f 100644 --- a/tc/tc_filter.c +++ b/tc/tc_filter.c @@ -253,12 +253,13 @@ int print_filter(const struct sockaddr_nl *who, struct nlmsghdr *n, void *arg) } fprintf(fp, "%s ", rta_getattr_str(tb[TCA_KIND])); q = get_filter_kind(RTA_DATA(tb[TCA_KIND])); - if (tb[TCA_OPTIONS]) { + if (tb[TCA_OPTIONS] || n->nlmsg_type == RTM_DELTFILTER) { if (q) q->print_fopt(q, fp, tb[TCA_OPTIONS], t->tcm_handle); else fprintf(fp, "[cannot parse parameters]"); } + fprintf(fp, "\n"); if (show_stats && (tb[TCA_STATS] || tb[TCA_STATS2])) {