summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/net/ip_local_port_range.sh
blob: 4ff746db12564105266f43ef44a92efefed6446b (plain) (blame)
1
2
3
4
5
6
7
#!/bin/sh
# SPDX-License-Identifier: GPL-2.0

./in_netns.sh \
  sh -c 'sysctl -q -w net.mptcp.enabled=1 && \
         sysctl -q -w net.ipv4.ip_local_port_range="40000 49999" && \
         ./ip_local_port_range'