Skip to content

Commit 7c909a9

Browse files
geliangtangdavem330
authored andcommitted
selftests: mptcp: fix proto type in link_failure tests
In listener_ns, we should pass srv_proto argument to mptcp_connect command, not cl_proto. Fixes: 7d1e6f1 ("selftests: mptcp: add testcase for active-back") Signed-off-by: Geliang Tang <[email protected]> Signed-off-by: Matthieu Baerts <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent f7536ff commit 7c909a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ do_transfer()
297297
if [ "$test_link_fail" -eq 2 ];then
298298
timeout ${timeout_test} \
299299
ip netns exec ${listener_ns} \
300-
$mptcp_connect -t ${timeout_poll} -l -p $port -s ${cl_proto} \
300+
$mptcp_connect -t ${timeout_poll} -l -p $port -s ${srv_proto} \
301301
${local_addr} < "$sinfail" > "$sout" &
302302
else
303303
timeout ${timeout_test} \

0 commit comments

Comments
 (0)