Skip to content

Commit d8566d0

Browse files
matttbedavem330
authored andcommitted
selftests: mptcp: userspace_pm: use correct server port
"server4_port" variable is not set but "app4_port" is the server port in v4 and the correct variable name to use. The port is optional so there was no visible impact. Link: multipath-tcp/mptcp_net-next#368 Fixes: ca188a2 ("selftests: mptcp: userspace PM support for MP_PRIO signals") Cc: [email protected] Acked-by: Paolo Abeni <[email protected]> Signed-off-by: Matthieu Baerts <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 9ac4c28 commit d8566d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -848,7 +848,7 @@ test_prio()
848848
local count
849849

850850
# Send MP_PRIO signal from client to server machine
851-
ip netns exec "$ns2" ./pm_nl_ctl set 10.0.1.2 port "$client4_port" flags backup token "$client4_token" rip 10.0.1.1 rport "$server4_port"
851+
ip netns exec "$ns2" ./pm_nl_ctl set 10.0.1.2 port "$client4_port" flags backup token "$client4_token" rip 10.0.1.1 rport "$app4_port"
852852
sleep 0.5
853853

854854
# Check TX

0 commit comments

Comments
 (0)