Skip to contentSkip to conversation

tunnel: Fix missing space after local/remote print

PATCH Applied Gal Pressman 2 participants 2 messages Feb 9, 2022 – Feb 10, 2022

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tunnel: Fix missing space after local/remote print

The cited commit removed the space after the local/remote tunnel print and resulted in "broken" output:

gre remote 1.1.1.2local 1.1.1.1ttl inherit erspan_ver 0 addrgenmode eui64 numtxqueues 1 numrxqueues 1 gso_max_size 65536 gso_max_segs 65535

    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
Fixes 5632cf69ad59 ("tunnel: fix clang warning")

---
v1->v2: https://lore.kernel.org/netdev/[email protected]/
* Remove unneeded is_json_context()

---
 ip/tunnel.c | 1 +
 1 file changed, 1 insertion(+)
ip/tunnel.c +1 -0
index f2632f43babf..224c81e42e9b 100644
@@ -299,6 +299,7 @@ void tnl_print_endpoint(const char *name, const struct rtattr *rta, int family)
 	}
 
 	print_string_name_value(name, value);
+	print_string(PRINT_FP, NULL, " ", NULL);
 }
 
 void tnl_print_gre_flags(__u8 proto,
Signature · 1 line
2.25.1
#1 lore raw
This patch was applied to iproute2/iproute2-next.git (main) by David Ahern <[email protected]>:

Hello:

This patch was applied to iproute2/iproute2-next.git (main) by David Ahern <[email protected]>:

Quoted 10 lines · On Wed, 9 Feb 2022 08:54:15 +0200 you wrote:

The cited commit removed the space after the local/remote tunnel print and resulted in "broken" output:

gre remote 1.1.1.2local 1.1.1.1ttl inherit erspan_ver 0 addrgenmode eui64 numtxqueues 1 numrxqueues 1 gso_max_size 65536 gso_max_segs 65535

    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
Fixes 5632cf69ad59 ("tunnel: fix clang warning")

[...]

Here is the summary with links:
- [iproute2-next] tunnel: Fix missing space after local/remote print

    https://git.kernel.org/pub/scm/network/iproute2/iproute2-next.git/commit/?id=25a9c4fa81c6

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html