This fixes a typo when dumping stats to print the right netns.
Indeed, the client netns was hardcoded instead of taking the netns given
in argument. Fixing that to avoid confusions when debugging issues.
Fixes: 658e53141780 ("selftests: mptcp: join: dump stats from history")
Reviewed-by: Geliang Tang <geli…@kernel.org>
Signed-off-by: Matthieu Baerts (NGI0) <matt…@kernel.org>
---
tools/testing/selftests/net/mptcp/mptcp_join.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/testing/selftests/net/mptcp/mptcp_join.sh b/tools/testing/selftests/net/mptcp/mptcp_join.sh
index f4d8afaeda4f..c3ccce96b45b 100755
--- a/tools/testing/selftests/net/mptcp/mptcp_join.sh
+++ b/tools/testing/selftests/net/mptcp/mptcp_join.sh
@@ -1174,7 +1174,7 @@ _dump_stats()
local ns="${1}"
local side="${2}"
- mptcp_lib_print_err "${side} ns stats (${ns2})"
+ mptcp_lib_print_err "${side} ns stats (${ns})"
mptcp_lib_pr_nstat "${ns}"
echo
}
--
2.55.0