Config File

This commit is contained in:
Michel Roegl-Brunner 2025-05-20 09:57:58 +02:00
parent 957ba3c430
commit 7edc2132c2

View File

@ -324,7 +324,7 @@ config_file() {
for ((ip_int=start_int; ip_int<=end_int; ip_int++)); do
ip=$(int_to_ip $ip_int)
msg_info "Checking IP: $ip"
if ! ping -c 4 -W 1 "$ip" >/dev/null 2>&1; then
if ! ping -c 1 -W 1 "$ip" >/dev/null 2>&1; then
msg_ok " "
NET="$ip/$cidr"
echo -e "${NETWORK}${BOLD}${DGN}Using free IP Address: ${BGN}$NET${CL}"