xref: /linux/tools/testing/selftests/net/ip_local_port_range.sh (revision 9a87ffc99ec8eb8d35eed7c4f816d75f5cc9662e)
1*ae543965SJakub Sitnicki#!/bin/sh
2*ae543965SJakub Sitnicki# SPDX-License-Identifier: GPL-2.0
3*ae543965SJakub Sitnicki
4*ae543965SJakub Sitnicki./in_netns.sh \
5*ae543965SJakub Sitnicki  sh -c 'sysctl -q -w net.ipv4.ip_local_port_range="40000 49999" && ./ip_local_port_range'
6