chore: backport funcs file changes from testing
Mirror to Codeberg / mirror-to-codeberg (push) Has been cancelled

This commit is contained in:
aclist committed 2025-10-25 11:37:48 +09:00
1 parent 3729d3c656
commit 7e45cb0fa2
2 files changed
+5 -1

No files matched your search

+4
View File
@@ -369,6 +369,10 @@ local_latlon(){
get_dist(){
shift
local given_ip="$1"
if [[ ! -f $_cache_coords ]]; then
printf "Unknown"
return
fi
readarray -t coords < "$_cache_coords"
readarray -t n < <(<<< "$given_ip" awk 'BEGIN{RS="."}{$1=$1}1')