kernel/tools/testing/selftests/net/ip_local_port_range.sh

8 lines
211 B
Bash
Executable File

#!/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'