[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190708081501.665e7ddb@hermes.lan>
Date: Mon, 8 Jul 2019 08:15:01 -0700
From: Stephen Hemminger <stephen@...workplumber.org>
To: Roman Mashak <mrv@...atatu.com>
Cc: netdev@...r.kernel.org, kernel@...atatu.com, jhs@...atatu.com,
xiyou.wangcong@...il.com, jiri@...nulli.us
Subject: Re: [PATCH iproute2 1/2] tc: added mask parameter in skbedit action
On Wed, 3 Jul 2019 19:05:31 -0400
Roman Mashak <mrv@...atatu.com> wrote:
> + if (tb[TCA_SKBEDIT_MASK]) {
> + print_uint(PRINT_ANY, "mask", "/0x%x",
> + rta_getattr_u32(tb[TCA_SKBEDIT_MASK]));
Why not print in hex with.
print_hex(PRINT_ANY, "mask", "/%#x",
rta_getattr_u32(tb[TCA_SKBEDIT_MASK]));
Powered by blists - more mailing lists