Skip to content

Commit c2ebfe6

Browse files
matttbeintel-lab-lkp
authored andcommitted
selftests: mptcp: add -m with ss in case of errors
Recently, we had an issue where getting info about the memory would have helped better understanding what went wrong. Let add it just in case for later. Signed-off-by: Matthieu Baerts (NGI0) <[email protected]>
1 parent 0f5bf44 commit c2ebfe6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/testing/selftests/net/mptcp/mptcp_lib.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,11 +118,11 @@ mptcp_lib_pr_err_stats() {
118118
echo -en "${MPTCP_LIB_COLOR_RED}"
119119
{
120120
printf "\nnetns %s (listener) socket stat for %d:\n" "${lns}" "${port}"
121-
ip netns exec "${lns}" ss -Menita -o "sport = :${port}"
121+
ip netns exec "${lns}" ss -Menitam -o "sport = :${port}"
122122
[ -s "${lstat}" ] && cat "${lstat}"
123123

124124
printf "\nnetns %s (connector) socket stat for %d:\n" "${cns}" "${port}"
125-
ip netns exec "${cns}" ss -Menita -o "dport = :${port}"
125+
ip netns exec "${cns}" ss -Menitam -o "dport = :${port}"
126126
[ "${lstat}" != "${cstat}" ] && [ -s "${cstat}" ] && cat "${cstat}"
127127
} 1>&2
128128
echo -en "${MPTCP_LIB_COLOR_RESET}"

0 commit comments

Comments
 (0)