chore: update changelog

This commit is contained in:
aclist committed 2025-03-15 17:43:28 +09:00
1 parent 05e897dd31
commit 3c235e22ed
4 files changed
+18 -9

No files matched your search

+10 -4
View File
@@ -784,12 +784,18 @@ logger(){
}
test_ping(){
shift
local time
local ip="$1"
local qport="$2"
local res
res=$(ping -c1 -4 -W0.5 $1 | grep time= | awk -F= '{print $4}')
[[ ! $? -eq 0 ]] && res="Timed out"
printf "%s" "$res"
log "$ip"
log "$qport"
res=$(a2s $ip $qport info)
if [[ -z $res ]]; then
time="Timed out"
else
time=$(<<< "$res" jq -r '.[].ping')
fi
printf "%s" "$time"
}
show_server_modlist(){
shift