fix: use nslookup_attempts for DNS check loop instead of nslookup_timeout

This commit is contained in:
Andrey Petelin
2026-01-28 12:45:35 +05:00
parent 0379cf5966
commit 00594f23fd

View File

@@ -490,7 +490,7 @@ list_update() {
local i
# DNS Check
for i in $(seq 1 $nslookup_timeout); do
for i in $(seq 1 $nslookup_attempts); do
if nslookup -timeout=$nslookup_timeout openwrt.org > /dev/null 2>&1; then
echolog "✅ DNS check passed"
break