aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHangbin Liu <liuhangbin@gmail.com>2023-03-16 11:52:41 +0800
committerStephen Hemminger <stephen@networkplumber.org>2023-03-18 19:18:36 -0700
commit0012881f3499dc9eb9e48e607ea7dd00fbe4edc2 (patch)
tree592ae07a5d849d549a8f00146def40e8292f1feb
parent7b20400960cafec494fd34bbd57b085784e06c9f (diff)
downloadiproute2-0012881f3499dc9eb9e48e607ea7dd00fbe4edc2.tar.gz
Revert "tc: m_action: fix parsing of TCA_EXT_WARN_MSG"
This reverts commit 70b9ebae63ce7e6f9911bdfbcf47a6d18f24159a. The TCA_EXT_WARN_MSG is not sit within the TCA_ACT_TAB hierarchy. It's belong to the TCA_MAX namespace. I will fix the issue in another patch. Reviewed-by: Andrea Claudi <aclaudi@redhat.com> Signed-off-by: Hangbin Liu <liuhangbin@gmail.com> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
-rw-r--r--tc/m_action.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tc/m_action.c b/tc/m_action.c
index 6c91af2ce..0400132ce 100644
--- a/tc/m_action.c
+++ b/tc/m_action.c
@@ -586,7 +586,7 @@ int print_action(struct nlmsghdr *n, void *arg)
open_json_object(NULL);
tc_dump_action(fp, tb[TCA_ACT_TAB], tot_acts ? *tot_acts:0, false);
- print_ext_msg(&tb[TCA_ACT_TAB]);
+ print_ext_msg(tb);
close_json_object();
return 0;