This commit is contained in:
2026-10-13 12:02:01 +02:00
parent daa2ee755c
commit f931db0808
11 changed files with 117 additions and 34 deletions
+1 -1
View File
@@ -295,7 +295,7 @@ isipv6()
IFS=':' read -ra parts <<< "$seg"
for part in "${parts[@]}"; do
[[ $part =~ ^[0-9a-fA-F]{1,4}$ ]] || { ok=0; break; }
(( total++ ))
total=$(( total + 1 ))
done
(( ok )) || break
done