Linux-6.18.2/tools/testing/selftests/net/ip_local_port_range.sh

8 lines
211 B
Bash
Raw Normal View History

2025-12-23 20:05:50 +08:00
#!/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'