Update Mbit.sh

This commit is contained in:
NewName
2024-04-09 02:42:04 +08:00
parent b58204d17e
commit 2522794f03

View File

@@ -20,7 +20,7 @@ if ! [[ "$LIMIT" =~ ^[0-9]+$ ]]; then
exit 1 exit 1
fi fi
INTERFACE="eth0" # 要限制的网络接口 INTERFACE="eth0" # 默认主网卡,所有网络接口则改为"all"
IFS=',' read -ra PORT_ARRAY <<< "$PORTS" IFS=',' read -ra PORT_ARRAY <<< "$PORTS"