From 269123600ac8375f8651a4d4d12eda5df5d5b033 Mon Sep 17 00:00:00 2001 From: Andrey Petelin Date: Tue, 16 Sep 2025 13:39:40 +0500 Subject: [PATCH] fix: Correct variable usage in domain/subnet parsing function (#165) --- 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 83a6955..429338d 100755 --- a/podkop/files/usr/bin/podkop +++ b/podkop/files/usr/bin/podkop @@ -1021,7 +1021,7 @@ import_local_domain_or_subnet_list() { fi local items json_array - items="$(parse_domain_or_subnet_file_to_comma_string "$tmpfile" "domains")" + items="$(parse_domain_or_subnet_file_to_comma_string "$filepath" "$type")" if [ -z "$items" ]; then log "No valid $type found in $filepath"