All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] tc: Fix json output for f_u32
@ 2024-03-04 12:02 Takanori Hirano
  2024-03-04 16:30 ` patchwork-bot+netdevbpf
  0 siblings, 1 reply; 2+ messages in thread
From: Takanori Hirano @ 2024-03-04 12:02 UTC (permalink / raw)
  To: netdev; +Cc: stephen, Takanori Hirano

Signed-off-by: Takanori Hirano <me@hrntknr.net>
---
 tc/f_u32.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tc/f_u32.c b/tc/f_u32.c
index 8a241310..59aa4e3a 100644
--- a/tc/f_u32.c
+++ b/tc/f_u32.c
@@ -1342,7 +1342,7 @@ static int u32_print_opt(struct filter_util *qu, FILE *f, struct rtattr *opt,
 
 		if (sel->flags & (TC_U32_VAROFFSET | TC_U32_OFFSET)) {
 			print_nl();
-			print_string(PRINT_ANY, NULL, "%s", "    offset ");
+			print_string(PRINT_FP, NULL, "    offset ", NULL);
 			if (sel->flags & TC_U32_VAROFFSET) {
 				print_hex(PRINT_ANY, "offset_mask", "%04x", ntohs(sel->offmask));
 				print_int(PRINT_ANY, "offset_shift", ">>%d ", sel->offshift);
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] tc: Fix json output for f_u32
  2024-03-04 12:02 [PATCH] tc: Fix json output for f_u32 Takanori Hirano
@ 2024-03-04 16:30 ` patchwork-bot+netdevbpf
  0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2024-03-04 16:30 UTC (permalink / raw)
  To: Takanori Hirano; +Cc: netdev, stephen

Hello:

This patch was applied to iproute2/iproute2.git (main)
by Stephen Hemminger <stephen@networkplumber.org>:

On Mon, 4 Mar 2024 12:02:04 +0000 you wrote:
> Signed-off-by: Takanori Hirano <me@hrntknr.net>
> ---
>  tc/f_u32.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Here is the summary with links:
  - tc: Fix json output for f_u32
    https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/commit/?id=b8daf861a45d

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-03-04 16:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-04 12:02 [PATCH] tc: Fix json output for f_u32 Takanori Hirano
2024-03-04 16:30 ` patchwork-bot+netdevbpf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.