From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-it0-f53.google.com ([209.85.214.53]:35050 "EHLO mail-it0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751269AbeCTRpq (ORCPT ); Tue, 20 Mar 2018 13:45:46 -0400 Received: by mail-it0-f53.google.com with SMTP id v194-v6so3455318itb.0 for ; Tue, 20 Mar 2018 10:45:46 -0700 (PDT) From: Roman Mashak To: stephen@networkplumber.org Cc: netdev@vger.kernel.org, jhs@mojatatu.com, xiyou.wangcong@gmail.com, jiri@resnulli.us, Roman Mashak Subject: [PATCH iproute2 1/1] tc: print actual action for connmark action Date: Tue, 20 Mar 2018 13:45:38 -0400 Message-Id: <1521567938-12408-1-git-send-email-mrv@mojatatu.com> Sender: netdev-owner@vger.kernel.org List-ID: Signed-off-by: Roman Mashak --- tc/m_connmark.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tc/m_connmark.c b/tc/m_connmark.c index 37d718541549..d5b140cbb7bd 100644 --- a/tc/m_connmark.c +++ b/tc/m_connmark.c @@ -121,7 +121,8 @@ static int print_connmark(struct action_util *au, FILE *f, struct rtattr *arg) ci = RTA_DATA(tb[TCA_CONNMARK_PARMS]); - fprintf(f, " connmark zone %d\n", ci->zone); + fprintf(f, " connmark zone %d", ci->zone); + print_action_control(f, " ", ci->action, "\n"); fprintf(f, "\t index %u ref %d bind %d", ci->index, ci->refcnt, ci->bindcnt); -- 2.7.4