diff options
Diffstat (limited to 'tc/m_mirred.c')
-rw-r--r-- | tc/m_mirred.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tc/m_mirred.c b/tc/m_mirred.c index 585f674e..36612972 100644 --- a/tc/m_mirred.c +++ b/tc/m_mirred.c @@ -263,8 +263,7 @@ print_mirred(struct action_util *au,FILE * f, struct rtattr *arg) if (arg == NULL) return -1; - memset(tb, 0, sizeof (tb)); - parse_rtattr(tb, TCA_MIRRED_MAX, RTA_DATA(arg), RTA_PAYLOAD(arg)); + parse_rtattr_nested(tb, TCA_MIRRED_MAX, arg); if (tb[TCA_MIRRED_PARMS] == NULL) { fprintf(f, "[NULL mirred parameters]"); |