From 00594f23fd30e76335551bf96c755b65274a1cc4 Mon Sep 17 00:00:00 2001 From: Andrey Petelin Date: Wed, 28 Jan 2026 12:45:35 +0500 Subject: [PATCH] fix: use nslookup_attempts for DNS check loop instead of nslookup_timeout --- podkop/files/usr/bin/podkop | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/podkop/files/usr/bin/podkop b/podkop/files/usr/bin/podkop index fafaa79..e26164a 100755 --- a/podkop/files/usr/bin/podkop +++ b/podkop/files/usr/bin/podkop @@ -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